Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 77c7a9eb authored by Justin Klaassen's avatar Justin Klaassen
Browse files

Defer adapter updates while RV is computing layout

Bug: 29149374

It appears that the ItemAnimator#isRunning callback can happen at times
when RV is computing its layout and hence adapter updates are not
allowed. We now defer adapter updates using a handler in this case and
also take care to preserve the ordering of updates.

Change-Id: I8ef243f5a689755dc2ab665471610e0501c72bcc
parent b132d921
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment