forked from photo/mobile-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue photo#463 (Card 13) (Display name of album in header when viewi…
…ng an album.) - AlbumsFragment: updated call of the galleryOpenControl with the whole album object parameter in the onItemClick method - GalleryFragment: updated type of mAlbum name to Album - GalleryFragment: updated EXTRA_ALBUM extra read/write to parcelable type in the onSaveInstanceState, onCreateView, refresh methods - GalleryFragment: added getAlbum method - GalleryFragment: updated mAlbum reading from intent and GalleryAdapterExt constructor call in the refresh method - MainActivity: updated openGallery method declaration accordingly to parent interface call - NavigationHandlerFragment.FragmentWrapper: added new field dynamicTitleGenerator and renamed field runOnReselect to the mRunOnReselect - NavigationHandlerFragment.FragmentWrapper: added getActionbarTitle method - NavigationHandlerFragment: added init of dynamicTitleGenerator field for thw gallery fragment wrapper to the initPager method. Also added resetting of actionbar title call to the runOnReselect handler for the gallery fragment. - NavigationHandlerFragment: added setActionBarTitle method - NavigationHandlerFragment.FragmentAdapter: extracted actionbar title setting code to the separate method setActionBarTitle - GalleryOpenControl: updated type of album field in the openGallery method declaration
- Loading branch information
1 parent
c379820
commit ad37394
Showing
5 changed files
with
66 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
|
||
package com.trovebox.android.app.util; | ||
|
||
import com.trovebox.android.app.model.Album; | ||
|
||
/** | ||
* @author Eugene Popovich | ||
*/ | ||
public interface GalleryOpenControl | ||
{ | ||
void openGallery(String tag, String album); | ||
void openGallery(String tag, Album album); | ||
} |