History log of /frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/RoomSQLiteQuery.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0d1b036f6868844705cd3b57e96d373edd09b3d5 25-Jul-2017 Yigit Boyar <yboyar@google.com> Make support sqlite statement AutoClosable.

Bug: 63131997
Test: tests on api 15 pass
Change-Id: If12a93d6a083c75ac3843ebbea7dba6f34dbb812
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/RoomSQLiteQuery.java
9fd8e6171bbdc37f5516fe15b2d96f4ae926ef1a 23-Jun-2017 Chris Craik <ccraik@google.com> Initial commit of paging component.

This commit introduces a paging component to enable gradual, lazy
loading from large data sources, including Room queries.

The primary entry points are:

1) CountedDataSource, the base class for defining a countable (i.e.
fixed, known size) source of items, such as a Database query.

2) LazyList, the lazy-loading List-like component which pages content
in on a background thread from a CountedDataSource.

3) LiveLazyListProvider, the class which produces DataSources, and
presents a LiveData<LazyList<T>>.

4) LazyListAdapterHelper, which takes a LiveData<LazyList>, and
presents the data simply to an adapter. It computes differences
between versions with DiffUtil, and signalling updates to the adapter.

Currently, Room only presents a limit-offset query as an easy means to
get a LiveData of a LazyList, but it's possible to write a custom data
source to page in data from keyed (including composite-keyed) queries.

Test: new tests
Change-Id: I415879a032d83786d734c26c429828da3b8bc76a
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/RoomSQLiteQuery.java
64db0cc15b78b62a1d44a70fc8b4552e660d952c 17-Apr-2017 Yigit Boyar <yboyar@google.com> Mass package renaming from android.support to android.arch

Bug: 37429162
Test: ./gradlew check passes

Change-Id: I911766254b6a9f957ef90429a1efc01c209d693a
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/RoomSQLiteQuery.java