commit | a58f009eaf93a1a1b9e58a8280f73a6b9a29ece5 | [log] [tgz] |
---|---|---|
author | Alex Fandrianto <alexfandrianto@google.com> | Tue Apr 19 16:37:22 2016 -0700 |
committer | Ross Wang <rosswang@google.com> | Tue Apr 19 19:01:57 2016 -0700 |
tree | 1260e721c918aa55f0366062c7145d6e588d50e5 | |
parent | 3636012a0556b62f79f6607d1091db722c7c4ae3 [diff] |
TBR: TODOs: Correctly notify the adapter of changes to the data adapter.notifyDataSetChanged() is a bad idea. It makes it hard for the RecyclerView to animate any of its View Holders. This CL swaps these notify calls out for the more specific kind. This makes the list items appear to move as they are modified. It is quite nice. Closes https://github.com/vanadium/issues/issues/1298 Change-Id: Ifcd9662bcc96a4074b67db126c1f2e160375bdc1