forked from github/wulkanowy-mirror
Fix scroll to start in grade fragment (#210)
This commit is contained in:
parent
ea6a928cb4
commit
a9e788f7ff
@ -103,7 +103,7 @@ class GradeDetailsFragment : BaseSessionFragment(), GradeDetailsView, GradeView.
|
||||
}
|
||||
|
||||
override fun scrollToStart() {
|
||||
gradeDetailsAdapter.smoothScrollToPosition(0)
|
||||
gradeDetailsRecycler.scrollToPosition(0)
|
||||
}
|
||||
|
||||
override fun getHeaderOfItem(item: AbstractFlexibleItem<*>): IExpandable<*, out IFlexible<*>>? {
|
||||
|
@ -71,7 +71,7 @@ class GradeSummaryFragment : BaseSessionFragment(), GradeSummaryView, GradeView.
|
||||
}
|
||||
|
||||
override fun resetView() {
|
||||
gradeSummaryAdapter.smoothScrollToPosition(0)
|
||||
gradeSummaryRecycler.scrollToPosition(0)
|
||||
}
|
||||
|
||||
override fun showContent(show: Boolean) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user