Maybe fixing IllegalStateException.
This commit is contained in:
parent
5e7897bcf4
commit
a11007113a
@ -93,6 +93,7 @@ class ReaderActivity : AppCompatActivity() {
|
||||
var adapter = ScreenSlidePagerAdapter(supportFragmentManager)
|
||||
pager.adapter = adapter
|
||||
pager.currentItem = currentItem
|
||||
(pager.adapter as ScreenSlidePagerAdapter).notifyDataSetChanged()
|
||||
|
||||
pager.setPageTransformer(true, DepthPageTransformer())
|
||||
(indicator as CircleIndicator).setViewPager(pager)
|
||||
|
Loading…
Reference in New Issue
Block a user