Skip to content

Instantly share code, notes, and snippets.

@wajahatkarim3
Created June 20, 2022 14:41
Show Gist options
  • Save wajahatkarim3/3f58fbac958a76aab189d35d2c1d0b5e to your computer and use it in GitHub Desktop.
Save wajahatkarim3/3f58fbac958a76aab189d35d2c1d0b5e to your computer and use it in GitHub Desktop.
val concatAdapter = ConcatAdapter(headerAdapter, usersAdapter, footerAdapter)
binding.mainRecyclerView.layoutManager = LinearLayoutManager(this)
binding.mainRecyclerView.adapter = concatAdapter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment