A dialog for joining app groups
Extends: | FacebookDialogBase |
Package: | widget |
JoinAppGroupDialog(Activity)
Constructs a JoinAppGroupDialog.
public JoinAppGroupDialog(Activity activity)
Parameter | Description |
---|---|
activity | Activity hosting the dialog. |
JoinAppGroupDialog(Fragment)
Constructs a JoinAppGroupDialog.
public JoinAppGroupDialog(Fragment fragment)
Parameter | Description |
---|---|
fragment | Fragment hosting the dialog. |
canShow()
Indicates whether the join app group dialog can be shown.
public static boolean canShow()
show(Activity, String)
Shows an JoinAppGroupDialog to join a group with the passed in Id, using the passed in activity. No callback will be invoked.
public static void show(Activity activity, String groupId)
Parameter | Description |
---|---|
activity | Activity hosting the dialog |
groupId | Id of the group to join |
show(Fragment, String)
Shows an JoinAppGroupDialog to join a group with the passed in Id, using the passed in fragment. No callback will be invoked.
public static void show(Fragment fragment, String groupId)
Parameter | Description |
---|---|
fragment | Fragment hosting the dialog |
groupId | Id of the group to join |