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

项目:BrillaMXAndroid    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:TP-Formation-Android    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:AutoTimeHelper    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:BrainStudio    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:smartenit    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:DualRunner    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:MeNextAndroid    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:ClassParticipation2    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:PetTinder    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}
项目:HereAStory-Android    文件:UiLifecycleHelper.java   
/**
 * Creates a new UiLifecycleHelper.
 *
 * @param activity the Activity associated with the helper. If calling from a Fragment,
 *                 use {@link android.support.v4.app.Fragment#getActivity()}
 * @param callback the callback for Session status changes, can be null
 */
public UiLifecycleHelper(Activity activity, Session.StatusCallback callback) {
    if (activity == null) {
        throw new IllegalArgumentException(ACTIVITY_NULL_MESSAGE);
    }

    this.activity = activity;
    this.callback = callback;
    this.receiver = new ActiveSessionBroadcastReceiver();
    this.broadcastManager = LocalBroadcastManager.getInstance(activity);
    this.pendingFacebookDialogCallStore = PendingCallStore.getInstance();

    // initialize SDK
    Settings.sdkInitialize(activity);
}