commit | a3d5bb01bc01733999d84c452a27012c57ab369c | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Tue Dec 16 16:55:35 2014 -0800 |
committer | Yigit Boyar <yboyar@google.com> | Fri Dec 19 15:55:29 2014 -0800 |
tree | 96a7eb3ec5fb3f9d77ef7b4c8faa5d053c014c9a | |
parent | 3a17fd725eb3484a8bda9a033581d1ba92a669d3 [diff] |
SortedList data structure This is a collection class that keeps items in order and dispatches change events which makes it play nice with RecyclerView#Adapter. It also has support for batching events so that when multiple consecutive items are added/removed/updated in the list, they can be dispatched to Adapter as 1 op, making it easier for RecyclerView to handle. Bug: 18753633 Change-Id: I86e3cce1873d8d0b310658a9b8f2f943750e9f8f