Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- SyncImageSelectionFragment: changed type of photosGrid to StickyGridHeadersGridView - SyncImageSelectionFragment: replaced setNumbColumn with reseting of item height of adapter in the onDetach method - SyncImageSelectionFragment: added dummy adapter for photos grid to the on init method to avoid errors of StickyGridHeaders - SyncImageSelectionFragment: replaced initiated check in the view tree observer in the init method with the item height check. Removed setNumbColumns call - SyncImageSelectionFragment: changed condition for the refresh call in the init method (grid adapter is not null anymore, it is either set or is dummy) - SyncImageSelectionFragment.ImageData: added additional field folder and its handling to the constructor and parcelable implementation - SyncImageSelectionFragment.ImageData: added new method getFolderFromPath - SyncImageSelectionFragment.InitTask: replaced setAdapter(null) with setting of dummy adapter to photosGrid such as StickyGridHeaders doesn't support null adapter on the onPreExecute method - SyncImageSelectionFragment.DummyImageAdapter: added - SyncImageSelectionFragment.CustomImageAdapter: now it implements StickyGridHeadersSimpleAdapter - SyncImageSelectionFragment.CustomImageAdapter: added viewholder optimization to the getViewAdditional method - SyncImageSelectionFragment.CustomImageAdapter: added new methods implementation: getHeaderId, getHeaderView - SyncImageSelectionFragment.CustomImageAdapter.ViewHolder: added - SyncImageSelectionFragment.CustomImageAdapter.HeaderViewHolder: added - SyncImageSelectionFragment.ImageAdapter: removed fields mNumColumns, mActionBarHeight. Added inflater field. Removed setNumbColumns and getNumColumns methods - SyncImageSelectionFragment.ImageAdapter: removed top row handling from the getView method - SyncImageSelectionFragment.CustomImageWorkerAdapter: updated sorting in the sort method to be by folder first and then by processed/not processed - /res/layout/fragment_sync_select_photos.xml: replaced GridView with StickyGridHeadersGridView - /res/layout/sync_category_separator.xml: added - /project.properties: removed PhotoView library (now it is included as source folder) and added StickyGridHeaders library - /submodules/StickyGridHeaders: added - /.classpath: added photoview src folder and adt 22 library export record - /.project: added new linked resource and variable
- Loading branch information