Android SDK Version

public final class ShareButton
extends ShareButtonBase
A button to share content on Facebook. Tapping the receiver will invoke the ShareDialog with the attached shareContent.
Constructor Summary
Constructor and Description
ShareButton(Context context) 
ShareButton(Context context, AttributeSet attrs) 
ShareButton(Context context, AttributeSet attrs, int defStyleAttr) 
Method Summary
Modifier and TypeMethod and Description
protected voidconfigureButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) 
protected intgetDefaultRequestCode() 
protected intgetDefaultStyleResource() 
protected com.facebook.internal.FacebookDialogBase<ShareContent,Sharer.Result>getDialog() 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

ShareButton

public ShareButton(Context context)

ShareButton

public ShareButton(Context context,
                   AttributeSet attrs)

ShareButton

public ShareButton(Context context,
                   AttributeSet attrs,
                   int defStyleAttr)
Method Detail

getDefaultStyleResource

protected int getDefaultStyleResource()

getDefaultRequestCode

protected int getDefaultRequestCode()

getDialog

protected com.facebook.internal.FacebookDialogBase<ShareContent,Sharer.Result> getDialog()
Specified by:

configureButton

protected void configureButton(Context context,
                               AttributeSet attrs,
                               int defStyleAttr,
                               int defStyleRes)
Overrides: