Skip to content Skip to sidebar Skip to footer

How To Make A Single Item Of Viewholder Non Recyclable

I want to make only one item of the viewholder non recyclable and not the whole viewholder. How can I do so? I dont want the btnSave to be recyclable since its state may be differe

Solution 1:

you can wrap

this.setIsRecyclable(false);

with

if(getposition()=item_position)

Post a Comment for "How To Make A Single Item Of Viewholder Non Recyclable"