Exemplo n.º 1
0
 public void init(ChatActivity parentFragment) {
   if (MediaController.allPhotosAlbumEntry != null) {
     for (int a = 0; a < Math.min(100, MediaController.allPhotosAlbumEntry.photos.size()); a++) {
       MediaController.PhotoEntry photoEntry = MediaController.allPhotosAlbumEntry.photos.get(a);
       photoEntry.caption = null;
       photoEntry.imagePath = null;
       photoEntry.thumbPath = null;
     }
   }
   attachPhotoLayoutManager.scrollToPositionWithOffset(0, 1000000);
   photoAttachAdapter.clearSelectedPhotos();
   baseFragment = parentFragment;
   updatePhotosButton();
 }
 public void init(ChatActivity parentFragment) {
   attachPhotoLayoutManager.scrollToPositionWithOffset(0, 1000000);
   photoAttachAdapter.clearSelectedPhotos();
   baseFragment = parentFragment;
   updatePhotosButton();
 }