public class FacebookPhotoPickerActivity extends AImagePickerActivity implements FacebookAgent.ICallback
| Constructor and Description |
|---|
FacebookPhotoPickerActivity() |
| Modifier and Type | Method and Description |
|---|---|
void |
facOnAlbumsSuccess(java.util.List<FacebookAgent.Album> albumList,
boolean moreAlbums)
Called when albums were successfully retrieved.
|
void |
facOnCancel()
Called when photo retrieval was cancelled.
|
void |
facOnError(java.lang.Exception exception)
Called when there was an error retrieving photos.
|
void |
facOnPhotosSuccess(java.util.List<FacebookAgent.Photo> photoList,
boolean morePhotos)
Called when photos were successfully retrieved.
|
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
Called when an activity returns a result.
|
protected void |
onCreate(android.os.Bundle savedInstanceState)
Called when the activity is created.
|
boolean |
onCreateOptionsMenu(android.view.Menu menu)
Called when the options menu is created.
|
void |
onLoadMoreItems(int depth,
java.lang.String parentKey) |
boolean |
onOptionsItemSelected(android.view.MenuItem item)
Called when an options menu item (action) is selected.
|
protected void |
onResume()
Called when the activity gains focus.
|
void |
onSelectedCountChanged(int selectedImageCount)
Called when the selected image count changes
|
void |
onSetDepth(int depth,
java.lang.String parentKey) |
void |
setDefaultToolbarName()
Sets the toolbar name taking containing the number
of selected pictures and the default title
|
void |
setToolbarName()
Sets the toolbar name taking containing the number
of selected pictures and bucket name
|
static void |
startForResult(android.app.Activity activity,
int addedAssetCount,
boolean supportsMultiplePacks,
int packSize,
int maxImageCount,
int activityRequestCode)
Starts this activity, returning the result to a calling
activity.
|
static void |
startForResult(android.app.Fragment fragment,
int addedAssetCount,
boolean supportsMultiplePacks,
int packSize,
int maxImageCount,
int activityRequestCode)
Starts this activity, returning the result to a calling
fragment.
|
public static void startForResult(android.app.Activity activity,
int addedAssetCount,
boolean supportsMultiplePacks,
int packSize,
int maxImageCount,
int activityRequestCode)
public static void startForResult(android.app.Fragment fragment,
int addedAssetCount,
boolean supportsMultiplePacks,
int packSize,
int maxImageCount,
int activityRequestCode)
protected void onCreate(android.os.Bundle savedInstanceState)
public boolean onCreateOptionsMenu(android.view.Menu menu)
public boolean onOptionsItemSelected(android.view.MenuItem item)
protected void onResume()
protected void onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
public void facOnAlbumsSuccess(java.util.List<FacebookAgent.Album> albumList, boolean moreAlbums)
facOnAlbumsSuccess in interface FacebookAgent.ICallbackpublic void facOnPhotosSuccess(java.util.List<FacebookAgent.Photo> photoList, boolean morePhotos)
facOnPhotosSuccess in interface FacebookAgent.ICallbackpublic void facOnError(java.lang.Exception exception)
facOnError in interface FacebookAgent.ICallbackpublic void facOnCancel()
facOnCancel in interface FacebookAgent.ICallbackpublic void onSetDepth(int depth,
java.lang.String parentKey)
public void onLoadMoreItems(int depth,
java.lang.String parentKey)
public void setDefaultToolbarName()
public void setToolbarName()
public void onSelectedCountChanged(int selectedImageCount)