-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
Description
First off, thanks for this library.
I was wondering what would be the best way to add support for databinding when using an ItemViewHolder with a recyclerview (or listview). I am thinking either making the onCreateViewHolder abstract, and creating two base classes, depending on whether one is using the databinding or not. The problem with this solution is that it would double the number of classes one can subclass.
What about adding a flag to the LayoutId annotation set to true when using databinding, and is false by default?
Thanks,
Reactions are currently unavailable