diff options
-rw-r--r-- | photoviewer/src/com/android/ex/photo/PhotoViewActivity.java | 3 | ||||
-rw-r--r-- | photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java index 5231ca1..2a24e1f 100644 --- a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java +++ b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java @@ -532,4 +532,7 @@ public class PhotoViewActivity extends Activity implements postActionBarHideRunnableWithDelay(); } } + + public void onNewPhotoLoaded() { + } } diff --git a/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java b/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java index 2ecbeb7..efb8145 100644 --- a/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java +++ b/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java @@ -302,8 +302,10 @@ public class PhotoViewFragment extends Fragment implements // Hide the progress bar as it isn't needed anymore. mPhotoProgressBar.setVisibility(View.GONE); } + if (data != null) { + mCallback.onNewPhotoLoaded(); + } - mCallback.setViewActivated(); setViewVisibility(); } |