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/AsyncTaskLoader.java
|
0574ca37da4619afe4e26753f5a1b4de314b6565 |
|
17-Nov-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Add the support libraries to the platform documentation (support libs). Updated the support libraries' documentation. bug:5629339 Change-Id: Ia026696e541ab200ce05601aabe062a303bcbb97
/frameworks/support/v4/java/android/support/v4/content/AsyncTaskLoader.java
|
fbabff99ccbcb576c713991c5db5dec21a0d0ce0 |
|
02-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5085211: Leaked cursors in Loaders It looks like canceling of async tasks on froyo behaves differently than newer platforms. To deal with this, we'll just have our own impl of the async task engine in the support library for use on those older platforms. It would be nice to switch to the built-in AsyncTask when running on newer versions of the platform... not sure the best way to do that, though. Change-Id: Ic2209c83033b76f12be5ceee0809f4fc57af7026
/frameworks/support/v4/java/android/support/v4/content/AsyncTaskLoader.java
|
cba2e2c881e8e16ea5025b564c94320174d65f01 |
|
08-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
First checkin! Change-Id: Ib09737c48a144dd778efe4750452d74ac8265a29
/frameworks/support/v4/java/android/support/v4/content/AsyncTaskLoader.java
|