Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

[common-ui] Add common classes for Recycler from production projects (module 'recycler') #52

Open
dmitriy-chernysh opened this issue Feb 18, 2022 · 1 comment
Assignees

Comments

@dmitriy-chernysh
Copy link
Member

No description provided.

@dmitriy-chernysh
Copy link
Member Author

dmitriy-chernysh commented Apr 3, 2022

Try to use "payloads" in the adapter to avoid blinking effect

    override fun onBindViewHolder(
        holder: BindingViewHolder,
        position: Int,
        payloads: MutableList<Any>
    ) {
        super.onBindViewHolder(holder, position, payloads)
    }

Article https://medium.com/livefront/recyclerview-trick-selectively-bind-viewholders-with-payloads-4b28e3d2cce8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant