Created
March 16, 2018 02:46
Star
You must be signed in to star a gist
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