Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How not disable recycling for all/some items? #421

Open
pk4393 opened this issue Feb 22, 2022 · 0 comments
Open

How not disable recycling for all/some items? #421

pk4393 opened this issue Feb 22, 2022 · 0 comments
Labels

Comments

@pk4393
Copy link

pk4393 commented Feb 22, 2022

Hi all.

How to disable the recycling for items?

Overriding this method in the item doesn't work for me:

override fun isRecyclable(): Boolean { return false }

Overriding the below given method in the item and setting setIsRecyclable(false) also doesn't work for me.

override fun createViewHolder(itemView: View): GroupieViewHolder<ItemBinding> { return super.createViewHolder(itemView).apply { setIsRecyclable(false) } }

Please help. @lisawray @ValCanBuild @Zhuinden

@pk4393 pk4393 added the bug label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant