Answer the question
In order to leave comments, you need to log in
Do I need a generic Adapter for RecyclerView?
I would like to know how often commercial projects use RecyclerView and a universal Adapter for it. Maybe everyone needs their own, so as not to impair readability? I have never encountered the need to create multiple RecyclerViews, but now I need it. I think that creating several classes for the adapter is a collective farm, what do you say?
Answer the question
In order to leave comments, you need to log in
There is such an AdapterDelegates . I recommend using it. There will be a universal adapter, and the ability to reuse elements on different screens.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question