Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Card 77 (Add photo details to Trovebox Collect)
Trovebox-Android-App: - GalleryFragment: modified reference to the EXTRA_ADAPTER_PHOTOS constant in the additionalSingleImageViewInit method - MainActivity: now it doesn't implement PhotoDeletedHandler and PhotoUpdatedHandler. Also removed photoDeleted and photoUpdated method implementation. That is done because GalleryFragment now may register itself to receive boradcast notifications. Also removed receiver registering code from the onCreate method - PhotoDetailsActivity: now it doesn't implements PhotoDeletedHandler and PhotoUpdatedHandler. Also removed photoDeleted and photoUpdated method implementation. That is done because PhotoDetailsFragment now may register itself to receive boradcast notifications. Also removed receiver registering code from the onCreate method - PhotoDetailsActivity: removed EXTRA_PHOTO, EXTRA_PHOTOS, EXTRA_ADAPTER_PHOTOS constants - PhotoDetailsActivity.PhotoDetailsUiFragment: now it extends PhotoDetailsFragment from common library so a lot of common functionality is moved to that fragment - PhotoDetailsActivity.PhotoDetailsUiFragment: replaced current instance management fields wit the CurrentInstanceManager instance. - UploaderService: modified reference to the EXTRA_PHOTOS constant in the getSuccessPendingIntent method - HorizontalListView: moved to common library - PhotoViewHackyViewPager: moved to common library - res/drawable-?dpi/button_private.png: moved to common library - res/layout/activity_photo_details.xml: moved to common library - res/layout/item_details_thum_image.xml: moved to common library - res/layout/item_photo_details.xml: moved to common library - res/values/colors.xml: moved detail related and ab_bg_black colors to the common library - res/values/dimens.xml: moved photo details related dimensions to the common library - res/valeus/strings.xml, res/values-ru/strings.xml, res/values-pt/strings.xml: moved details_title_and_date_header constant to the common library Trovebox-Android-Common: - GalleryFragment: added registering of photo deleted and photo updated broadcast receivers to the onCreate method - PhotoDetailsFragment: added. Extracted common functionality from the Trovebox-Android-App photo details ui fragment. - PhotoDetailsFragment: fixed thumbs offset issue caused by invalid dimensions in pixels calculation. 104dip in pixels is not the same as 100dip+2dip+2dip in pixels at hdpi devices - HorizontalListView: added. Moved from Trovebox Android App - PhotoViewHackyViewPager: added. Moved from Trovebox Android App - res/drawable-?dpi/button_private.png: added. Moved from Trovebox Android App - res/layout/fragment_photo_details.xml: added. Moved from Trovebox Android App - res/layout/item_details_thum_image.xml: added. Moved from Trovebox Android App - res/layout/item_photo_details.xml: added. Moved from Trovebox Android App - res/values/colors.xml: added detail related and ab_bg_black colors. Moved from Trovebox Android App - res/values/dimens.xml: added photo details related dimensions. Moved from Trovebox Android App - res/valeus/strings.xml, res/values-ru/strings.xml, res/values-pt/strings.xml: added details_title_and_date_header constant. Moved from Trovebox Android App Trovebox-Android-Test: - PhotoDetailsActivitTest: fixed constant references
- Loading branch information