Java 类com.facebook.internal.FacebookDialogBase 实例源码

项目:kognitivo    文件:ShareButton.java   
@Override
protected FacebookDialogBase<ShareContent, Sharer.Result> getDialog() {
    final ShareDialog dialog;
    if (ShareButton.this.getFragment() != null) {
        dialog = new ShareDialog(ShareButton.this.getFragment() , getRequestCode());
    } else {
        dialog = new ShareDialog(getActivity(), getRequestCode());
    }
    return dialog;
}
项目:kognitivo    文件:SendButton.java   
@Override
protected FacebookDialogBase<ShareContent, Sharer.Result> getDialog() {
    final MessageDialog dialog;
    if (SendButton.this.getFragment() != null) {
        dialog = new MessageDialog(SendButton.this.getFragment() , getRequestCode());
    } else {
        dialog = new MessageDialog(getActivity(), getRequestCode());
    }
    return dialog;
}
项目:kognitivo    文件:ShareButtonBase.java   
abstract protected FacebookDialogBase<ShareContent, Sharer.Result> getDialog();