jackqdyulei
0b818b79db
Elicit ItemsData class and add DiffUtil.Callback
...
In the previous version, when there is a minor change in data, we
will refresh the whole screen(and data) by invoking "recountItems"
and "notifyDataSetChanged", which did lots of unnecessary works.
In this new cl, I elicit ItemsData class, which encapsulates the list
data used in adapter. When data changed, I build another ItemsData and
use the DiffUtil.Callback to calculate diffs between ItemsDatas. In
this way we can only refresh the items that changed in adapter.
Since I cannot find usage of see_all.xml anymore, I delete the relevant
code as well as the resource files.
Bug: 30319913
Test: make RunSettingsRoboTests
Change-Id: I4f753a26f624affea6c6c35d49cfb9c43fb74fe6
2016-10-21 11:02:29 -07:00
..
2016-09-23 08:37:37 -07:00
2016-09-21 16:30:32 -07:00
2016-10-11 16:45:57 -07:00
2016-08-18 14:04:13 -07:00
2016-10-06 13:17:06 -07:00
2016-10-13 17:19:35 -07:00
2016-10-14 00:51:32 +00:00
2016-10-21 11:02:29 -07:00
2016-10-17 11:39:03 -07:00
2016-09-28 13:20:27 -07:00
2016-10-13 17:32:22 -07:00
2016-10-10 18:26:29 -07:00
2016-10-11 14:30:19 -06:00
2016-09-19 17:34:12 -07:00
2016-10-17 20:31:49 +00:00
2016-10-14 11:08:51 -07:00
2016-10-14 11:08:51 -07:00
2016-08-18 14:04:13 -07:00
2016-10-13 15:01:18 -07:00
2016-10-13 17:19:35 -07:00
2016-10-11 17:22:44 -04:00
2016-10-14 11:08:51 -07:00
2016-10-11 14:30:19 -06:00
2016-08-30 04:49:55 +00:00
2016-04-24 10:55:41 -04:00
2016-10-04 17:52:05 -07:00
2016-08-18 14:04:13 -07:00
2016-10-07 19:30:01 +00:00
2016-10-14 11:08:51 -07:00
2016-08-18 14:04:13 -07:00
2016-10-10 18:26:29 -07:00
2016-10-11 17:22:44 -04:00
2016-10-07 16:27:27 +01:00
2016-08-18 14:04:13 -07:00
2016-09-29 16:52:37 +00:00
2016-09-27 22:02:02 +00:00
2016-09-23 08:37:37 -07:00
2016-09-21 18:52:05 +00:00
2016-09-21 16:30:32 -07:00
2016-08-18 14:04:13 -07:00
2016-07-12 12:51:31 -07:00
2016-09-21 17:16:17 -07:00
2016-09-23 08:37:37 -07:00
2016-10-13 12:59:17 -06:00
2016-08-25 02:18:35 +00:00
2016-08-18 14:04:13 -07:00
2016-05-20 19:10:33 +01:00
2016-07-13 22:12:33 -07:00
2016-09-12 16:25:28 +09:00
2016-09-12 16:25:28 +09:00
2016-09-12 16:25:28 +09:00
2016-10-05 16:51:23 +00:00
2016-09-12 16:25:28 +09:00
2016-05-10 17:16:33 +00:00
2016-07-19 11:13:46 -07:00
2016-05-03 16:39:11 -07:00
2016-08-18 14:04:13 -07:00
2016-08-18 14:04:13 -07:00
2016-09-14 13:25:28 -07:00
2016-09-30 12:23:42 -07:00
2016-09-15 21:46:17 -04:00
2016-10-13 17:32:22 -07:00
2016-04-15 01:14:55 +00:00
2016-09-20 09:22:06 -07:00
2016-10-18 17:13:34 +00:00
2016-09-21 16:30:32 -07:00
2016-10-11 14:50:31 -07:00
2016-09-21 16:30:32 -07:00
2016-09-21 16:30:32 -07:00
2016-08-02 22:26:55 +02:00
2016-07-25 16:45:15 -06:00
2016-08-18 14:04:13 -07:00
2016-08-18 14:04:13 -07:00
2016-08-18 14:04:13 -07:00
2016-09-28 09:07:44 -07:00
2016-08-18 14:04:13 -07:00
2016-05-31 22:43:09 +01:00
2016-08-18 14:04:13 -07:00
2016-09-14 13:25:28 -07:00
2016-05-10 15:41:30 -04:00
2016-08-25 07:39:08 +00:00
2016-07-21 13:30:54 -07:00
2016-08-18 14:04:13 -07:00
2016-09-21 16:30:32 -07:00
2016-09-27 18:53:20 +00:00
2016-06-02 14:12:19 -07:00
2016-08-18 14:04:13 -07:00
2016-08-18 14:04:13 -07:00
2016-05-12 19:12:17 +00:00
2016-07-04 04:01:49 +00:00
2016-06-02 12:40:22 -07:00
2016-08-18 14:04:13 -07:00
2016-10-11 14:30:19 -06:00
2016-10-12 15:27:19 -07:00
2016-10-14 14:02:03 -07:00
2016-05-12 11:13:26 +01:00
2016-10-13 01:40:53 +00:00
2016-06-16 14:42:22 -07:00
2016-06-16 12:13:11 -07:00
2016-06-16 12:13:11 -07:00
2016-06-16 12:13:11 -07:00
2016-06-16 12:13:11 -07:00
2016-04-26 17:20:31 -07:00
2016-08-08 15:25:31 +00:00
2016-07-15 17:32:02 +00:00
2016-09-14 09:22:43 -07:00
2016-08-18 14:04:13 -07:00
2016-06-08 09:48:58 -04:00
2016-08-26 13:26:45 -07:00
2016-09-21 16:30:32 -07:00
2016-08-18 14:04:13 -07:00
2016-09-02 11:03:32 +01:00
2016-09-02 11:03:32 +01:00
2016-06-07 00:02:42 -07:00
2016-09-19 17:34:12 -07:00
2016-09-20 09:22:06 -07:00
2016-10-11 14:30:19 -06:00
2016-06-14 09:44:10 -07:00
2016-08-18 14:04:13 -07:00
2016-08-18 14:04:13 -07:00
2016-10-13 15:01:18 -07:00
2016-10-13 17:19:35 -07:00
2016-09-20 09:22:06 -07:00