- SyncFragment: added active fragment detacon on view destroy. Now it
also properly handles onSaveInstanceState and activity destroy
#184
- CommonFragment: added FragmentAccessor static interface declaration
- FacebookFragment: added FacebookLoadingControlAccessor static
interface. Now the Activity the fragment is attached to should to
implement this interface so the FacebookFragment can obtain
LoadingControl.
- HomeFragment: added FragmentAccessor static field so the share task
can obtain fragment instance using this parameter
- HomeFragment shareViaEmail functionality moved to static
ShareUtils.shareViaEMail method
- HomeFragment: TwitterShareRunnable and FacebookShareRunnable moved to
the ShareUtils
- MainActivity, PhotoDetailsActivity: now it implements
TwitterLoadingControlAccessor and FacebookLoadingControlAccessor so
Twitter and Facebook share fragments can obtain loading control
correctly
- PhotoDetailsActivity: added photo details feature which shows photo
name, date, private icon, actionbar with the action menu buttons.
Actionbar menu allows to share photo on twitter/facebook/email. Also it
allows to remove the photo.
- SyncFragment: added additional attached activity checks (null and
isFinishing) to the activatePreviousStep method
- SyncUploadFragment: small updates because TwitterUtils changed
runAfterTwitterAuthentication method signature
- TwitterFragment: added TwitterLoadingControlAccessor static interface.
Now the Activity the fragment is attached to should to implement this
interface so the TwitterFragment can obtain LoadingControl.
- Photo: added additional parameters to parcel creation/restoring:
mDateTaken, width, height, mFilenameOriginal
- PhotoUtils: added deletePhoto method
- PhotoUtils.RetrieveThumbUrlTask: optimized to do not load specified
size for the same photo twice. Now after the photo is reloaded the size
is copied to the source photo object
- PhotoUtils.DeletePhotoTask: added
- IOpenPhotoApi: added deletePhoto method declaration
- OpenPhotoApi: added deletePhoto method implementation
- ShareUtils: added
- TwitterUtils: added few callback urls support so different activities
may use twitter share functionality
- TwitterUtils: modified next methods signature: askOAuth,
verifyOAuthResponse, runAfterTwitterAuthentication
- TwitterUtils.AccessRequestTask: added callbackUrl additional
constructor parameter
- TwitterUtils.AccessRequestTask: added loadingControl null checks
- EndlessAdapter: added loadOneMoreItem, itemIndex,
loadOneMoreItemForCurrentPageEnd, deleteItemAt,
deleteItemAtAndLoadOneMoreItem methods
- EndlessAdapter.LoadOneMoreItemTask: added
- PhotoEndlessAdapter: added loadItemsGeneral method which has pageSize
parameter.
- ProgressDialogLoadingControl: added
- SimpleAsyncTaskEx: added onCancelled method handling (stopping loading
control)
- activity_photo_details.xml: added photo details view to the layout
- item_photo_detail.xml: removed details view from the layout (moved to
parent activity)
- menu/photo_details.xml: added photo details menu
- colors.xml: added transparent background drawable and foreground color
- settings.xml: added twitter_callback_url2 parameter
- styles.xml: added Theme.OpenPhoto.TransparentActionBar theme and
related styles
- AndroidManifest.xml: PhotoDetailsActivity now uses different theme and
handles twitter authentication callbacks