0bab42508734d3f701a1fbb1d24c96fabff96163 |
|
27-Apr-2016 |
Adam Powell <adamp@google.com> |
Don't lose content change during rollback for loader already started If a loader is already started when we try to rollback a content change, force a new load instead of simply setting the flag to refresh next time. Bug 28406183 https://code.google.com/p/android/issues/detail?id=208278 Change-Id: I3b257f8e7d1828ce9fae095bcddc7aa195fb6792
/frameworks/support/v4/java/android/support/v4/content/Loader.java
|
220dc21ab5a2a5b3f8b6532105121750770a69f4 |
|
10-Oct-2013 |
Jeff Brown <jeffbrown@google.com> |
Add loader cancellation to support library. This change brings the support library loader API in sync with the current framework API. Adds CancellationSignal and OperationCanceledException. Adds support for canceling queries in progress on JB+. Bug: 11070452 Change-Id: I67b858897539caad815b8dd28e828abdb1646534
/frameworks/support/v4/java/android/support/v4/content/Loader.java
|
80a0a3a33e3f6c27da4681a4f02eb2c6aae1fd40 |
|
15-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix a bug where we could lose a loader content change. If AsyncTaskLoader starts a background update due to a content change, and that update is cancelled, we drop the data when it finally arrives and forget that the content changed. If we later come back to the loader, we then end up showing stale data because we don't know that we still need to update due to the old content change. This change adds a couple new APIs to Loader to deal with the time between when you ask for whether there is a content change and finally either commit the data or cancel the update. AsyncTaskLoader is changed to make use of this so that it doesn't lose changes. Change-Id: I431f55fff985baf653f217228895b855462b49fb
/frameworks/support/v4/java/android/support/v4/content/Loader.java
|
7dc96cc2410f551eefaa973ddc144146ad72d1ec |
|
13-Dec-2011 |
Dianne Hackborn <hackbod@google.com> |
SDK only: fix up support documentation and visibility. Now that the support library appears in the SDK documentation, it is worth cleaning up some of its java docs. Change-Id: I63d4d04be8ee69abf9385597fddbddcaa030477f
/frameworks/support/v4/java/android/support/v4/content/Loader.java
|
cba2e2c881e8e16ea5025b564c94320174d65f01 |
|
08-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
First checkin! Change-Id: Ib09737c48a144dd778efe4750452d74ac8265a29
/frameworks/support/v4/java/android/support/v4/content/Loader.java
|