Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@12bitfloat view binding is still somewhat better, atleast there's a proper seperation of concerns.
@shashank1800 good try but this attempt in reducing a recycler view to one liner has already existed and discarded by the community 3 years ago, when data binding first came to existence. at the end you have to write a proper viewholder , if you gotta to anything remotely complex -
I have been using that like from past 6 months and handled every case in that, only thing is it doesn't support multiple views.
-
Recycler view makes it hard to check for keypress and long keypress. Check out my git repository https://github.com/Ohior/...
If you are looking for the easy way -
once you made ur first adapter you can just copy paste it and change some stuff. not so difficult
-
@joewilliams007
Infact I have a git repository just for that. It has the data class, the adapter class and the database class. All I have to do is pull or copy and paste from git
Android library to avoid helps in writing recycler adapter in less code
Android library to avoid helps in writing recycler adapter in less code