ok, is there any easy way of it . actually I have ...
# announcements
k
ok, is there any easy way of it . actually I have five different Lists with search functionality so therefore I want to abstract Search logic in base Adapter then extend Other five adapters from Base adapter, please help how can I achieve this
k
And why do you need generic variance for this?
Dis you carefully read the link I posted?
k
as I mentioned I need I'm creating Base functionality for search for recycler view that's by I'm using genrics
but I don't know if its a best idea or not
if not best practice then what's a best approach for this scenrio
k
I still don't really get what you want 😞
k
Spose u have 10 Different RecyclerView adapters each having Search functionality (filters list according SearchView) then how do you deal with with Duplication of code,do you write filtering logic in each Adapter ?