A dialog for inviting users.
الإضافات: | FacebookDialogBase |
الحزمة: | widget |
AppInviteDialog(Activity)
Constructs a new AppInviteDialog.
public AppInviteDialog(Activity activity)
المعلمة | الوصف |
---|---|
activity | Activity to use to share the provided content. |
AppInviteDialog(Fragment)
Constructs a new AppInviteDialog.
public AppInviteDialog(Fragment fragment)
المعلمة | الوصف |
---|---|
fragment | Android.support.v4.app.Fragment to use to share the provided content. |
AppInviteDialog(Fragment)
Constructs a new AppInviteDialog.
public AppInviteDialog(Fragment fragment)
المعلمة | الوصف |
---|---|
fragment | Android.app.Fragment to use to share the provided content. |
canShow()
Indicates whether the app invite dialog can be shown.
public static boolean canShow()
show(Activity, AppInviteContent)
Helper to show the provided AppInviteContent using the provided Activity. No callback will be invoked.
public static void show(Activity activity, AppInviteContent appInviteContent)
المعلمة | الوصف |
---|---|
activity | Activity to use to share the provided content |
appInviteContent | Content of the app invite to send |
show(Fragment, AppInviteContent)
Helper to show the provided AppInviteContent using the provided Fragment. No callback will be invoked.
public static void show(Fragment fragment, AppInviteContent appInviteContent)
المعلمة | الوصف |
---|---|
fragment | Android.support.v4.app.Fragment to use to share the provided content |
appInviteContent | Content of the app invite to send |
show(Fragment, AppInviteContent)
Helper to show the provided AppInviteContent using the provided Fragment. No callback will be invoked.
public static void show(Fragment fragment, AppInviteContent appInviteContent)
المعلمة | الوصف |
---|---|
fragment | Android.app.Fragment to use to share the provided content |
appInviteContent | Content of the app invite to send |