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

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant