You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any metghod to get actual current position method, pager.getCurrentRealPosition() is not providing me actual position, and i have call setCurrentRealPosition at last of currentItem method.
Is there any metghod to get actual current position method, pager.getCurrentRealPosition() is not providing me actual position, and i have call setCurrentRealPosition at last of currentItem method.
override fun setCurrentItem(item: Int, smoothScroll: Boolean) {
var item = item
if (adapter!!.count == 0) {
super.setCurrentItem(item, smoothScroll)
return
}
item = offsetAmount + item % adapter!!.count
super.setCurrentItem(item, smoothScroll)
setRealCurrentItem(item, true)
}
The text was updated successfully, but these errors were encountered: