Created
March 16, 2018 02:46
-
-
Save skydoves/b8d0620d14054bb80cdf546a51dcad4b to your computer and use it in GitHub Desktop.
paginator
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
main_recyclerView.adapter = adapter | |
main_recyclerView.layoutManager = LinearLayoutManager(this) | |
paginator = RecyclerViewPaginator( | |
recyclerView = main_recyclerView, | |
isLoading = { viewModel.isLoading }, | |
loadMore = { loadMore(it) }, | |
onLast = { viewModel.isOnLast } | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment