Glimpse: MediaViewerFragment: Reload current page content when cursor changes
Change-Id: I0af966fc9060baf3aabda9d04516d0749e20ebf5
This commit is contained in:
parent
e048906a31
commit
d491334a6d
|
@ -378,6 +378,7 @@ class MediaViewerFragment : Fragment(
|
|||
override fun onLoadFinished(loader: Loader<Cursor>, data: Cursor?) {
|
||||
mediaViewerAdapter.changeCursor(data)
|
||||
viewPager.setCurrentItem(position, false)
|
||||
onPageChangeCallback.onPageSelected(position)
|
||||
}
|
||||
|
||||
private fun initCursorLoader() {
|
||||
|
|
Loading…
Reference in New Issue