FastAdapter icon indicating copy to clipboard operation
FastAdapter copied to clipboard

Is there a reason why GenericFastItemAdapter cannot filter?

Open hsdmiranda opened this issue 10 years ago • 3 comments

I am trying to use the GenericFastAdapter on my project, but I noticed that it does not contain the method withFilterPredicate like the FastItemAdapter. Is there a specific reason for that? Can I wrap it somehow to get the same result?

hsdmiranda avatar May 02 '16 18:05 hsdmiranda

@hsdmiranda the method might not be added to the GenericFastItemAdapter but you should be able to call it directly on the GenericItemAdapter.

GenericFastItemAdapter.getGenericItemAdapter().withFilterPredicate() should do the job

mikepenz avatar May 02 '16 18:05 mikepenz

Thanks for the quick reply as always @mikepenz. It worked

hsdmiranda avatar May 02 '16 18:05 hsdmiranda

No problem :D Sometimes I wonder myself how many questions I can answer without even looking at my code :D

mikepenz avatar May 02 '16 18:05 mikepenz