commit | 18a99faaf1de45082dbff78abcc931b74edde0ef | [log] [tgz] |
---|---|---|
author | Emily Chuang <emilychuang@google.com> | Tue Oct 16 18:49:29 2018 +0800 |
committer | Fan Zhang <zhfan@google.com> | Mon Oct 22 15:38:30 2018 -0700 |
tree | 40bbb55ca60515e640530b7f6441c0746fde76be | |
parent | 0a546d191651518e8f8f1e12c94279956dbb424b [diff] |
Add DiffCallback to handle Contextual Cards update. Use DiffCallback in ContextualCardsAdapter to only update items that are changed instead of touching those unchanged ones. Also fix a bug where ConditionContexualCardCard#onStart is incorrectly skipped. Fixes: 112245748 Bug: 118165942 Test: robotests Change-Id: I7989d621764fe40a3fceb8c9f40baced840818ba