public interface PhotoViewCallbacks
Modifier and Type | Interface and Description |
---|---|
static interface |
PhotoViewCallbacks.CursorChangedListener |
static interface |
PhotoViewCallbacks.OnScreenListener
Listener to be invoked for screen events.
|
Modifier and Type | Field and Description |
---|---|
static int |
BITMAP_LOADER_AVATAR |
static int |
BITMAP_LOADER_PHOTO |
static int |
BITMAP_LOADER_THUMBNAIL |
Modifier and Type | Method and Description |
---|---|
void |
addCursorListener(PhotoViewCallbacks.CursorChangedListener listener) |
void |
addScreenListener(int position,
PhotoViewCallbacks.OnScreenListener listener) |
PhotoPagerAdapter |
getAdapter()
Returns the adapter associated with this activity.
|
boolean |
isFragmentActive(Fragment fragment) |
boolean |
isFragmentFullScreen(Fragment fragment) |
Loader<PhotoBitmapLoaderInterface.BitmapResult> |
onCreateBitmapLoader(int id,
Bundle args,
String uri) |
void |
onCursorChanged(PhotoViewFragment fragment,
Cursor cursor) |
void |
onFragmentPhotoLoadComplete(PhotoViewFragment fragment,
boolean success) |
void |
onFragmentVisible(PhotoViewFragment fragment) |
void |
onNewPhotoLoaded(int position) |
void |
removeCursorListener(PhotoViewCallbacks.CursorChangedListener listener) |
void |
removeScreenListener(int position) |
void |
setViewActivated(int position) |
void |
toggleFullScreen() |
static final int BITMAP_LOADER_AVATAR
static final int BITMAP_LOADER_THUMBNAIL
static final int BITMAP_LOADER_PHOTO
void addScreenListener(int position, PhotoViewCallbacks.OnScreenListener listener)
void removeScreenListener(int position)
void addCursorListener(PhotoViewCallbacks.CursorChangedListener listener)
void removeCursorListener(PhotoViewCallbacks.CursorChangedListener listener)
void setViewActivated(int position)
void onNewPhotoLoaded(int position)
void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, boolean success)
void toggleFullScreen()
boolean isFragmentActive(Fragment fragment)
void onFragmentVisible(PhotoViewFragment fragment)
boolean isFragmentFullScreen(Fragment fragment)
void onCursorChanged(PhotoViewFragment fragment, Cursor cursor)
Loader<PhotoBitmapLoaderInterface.BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri)
PhotoPagerAdapter getAdapter()