Last active
June 17, 2020 09:48
-
-
Save tonnylitao/0b77f4e66260a1ccab137c072746f0c8 to your computer and use it in GitHub Desktop.
ViewHolder, a slim class for https://medium.com/@tonny/recyclerview-2020-when-recyclerview-meets-data-binding-616ca5c2147d
This file contains hidden or 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
inner class ViewHolder( | |
val binding: ViewDataBinding | |
): RecyclerView.ViewHolder(binding.root) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment