diff options
| author | Ben Kwa <kenobi@google.com> | 2015-11-30 23:00:02 -0800 |
|---|---|---|
| committer | Ben Kwa <kenobi@google.com> | 2015-12-14 11:47:27 -0800 |
| commit | 003a999db6fef1e0bcec415d02a6b96926942448 (patch) | |
| tree | 097626b3371fbace6db49874f8644c1ea77b3d87 /docs/html/sdk/api_diff/23/changes | |
| parent | edd137b9b98d6ed8fd3337ce91f529efe9d0aef5 (diff) | |
Switch DirectoryFragment code to use model IDs.
A Model ID is a unique, stable identifier referring to a document.
The basic idea is to move away from doing everything using adapter
positions, and instead use model IDs.
This is the first in a line of CLs toward that goal. It does the
following:
- Introduce the concept of a Model ID, which is unique for each
document.
- Add a method to retrieve items from the Model using ID rather than
adapter position.
- Transition code in the DirectoryFragment to talk to the Model using
Model IDs rather than positions.
- Break the Model class out into a separate file of its own.
BUG=26024369
Change-Id: Ia5171f089d6b8a83855423ec05cf14dbfc7b6ba8
Diffstat (limited to 'docs/html/sdk/api_diff/23/changes')
0 files changed, 0 insertions, 0 deletions
