mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
dad1a6e817
- for calling refreshUI(media, true) would refresh the view pager position, cause mPos to be set back to 0, so we retain the original behaviour and call refreshUI(media, false) - when items have been removed up until the last item in the adapter, the ViewPager's OnPageChangeListener.onPageSelected does not get called for the first item so mPos is never set to zero and deletion fails. - we add a call in OnPageChangeListener.onPageScrolled to call onPageSelected(0), when the position == 0 to fix this. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle | ||
proguard-rules.pro |