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

Skip to content
Commit 6a9d4d73 authored by Peter Liang's avatar Peter Liang
Browse files

Should update specific item instead of the whole list of the accessibility target.

Goal:
Avoid always involving notifyDataSetChanged() when any accessibility target is added. And then replace it with notifyItemInserted(), notifyItemRemoved(), and notifyItemChanged();

Actions:
1) Using the DiffUtil callback for updating the target feature list.
2) Fine-tuned the timing point of fade in/out effect.
3) Fine-tuned the setter/getter of the state description.

Fix: 252756133
Test: manual test
Change-Id: Iea848ece58bbc4b8c799a9dcb5c335331d6fd418
parent fde9618e
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