How to create an interface between an adapter and a viewholder
问题 I want to create an interface between an adapter and a view holder (this view holder is an inner class of another adapter) so that I can update the text view (number). How can I do this? In detail: I have two recycle views (Main List Recycler View and Sub List Recycler View horizontally placed as shown in the fig) one having a number (as one of its item) and other having checkbox (as its item). I have two adapters FilterMainListAdapter and FilterSubListAdapter with view holders