Search code examples
androidfirebasefirebase-realtime-databasefirebaseui

firebase recycler adapter is blink when data changes


A channel was implemented with firebase recycler adapter. Every time the data on the channel changes, channel's cell becomes shiny. Is there any way to prevent this?


Solution

  • try this.

    in your initialize recyclerview

    ((SimpleItemAnimator) myRecyclerView.getItemAnimator()).setSupportsChangeAnimations(false);