Created
December 24, 2018 04:41
-
-
Save anitaa1990/c2feaaa239968ab7f711969caf0c5eb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
recyclerView.addOnScrollListener(object : RecyclerViewPaginator(recyclerView) { | |
override val isLastPage: Boolean | |
get() = viewModel.isLastPage() | |
override fun loadMore(page: Long) { | |
viewModel.loadData(page) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, is there a reason why you used
on line 2 and not