commit | 5fbda023f1b0570e192e03a33834244a05edf200 | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Tue Feb 28 18:22:03 2012 -0800 |
committer | Andy Huang <ath@google.com> | Wed Feb 29 14:27:22 2012 -0800 |
tree | f8910b224a12e4b77541259dcd19d3467a273101 | |
parent | 6c51158ad3269f157424e6c7bd488425c98da08f [diff] |
Avoid re-creating Message model objects in cases like rotate Do the data model wrapping in CursorLoader.loadInBackground instead of LoaderCallbacks.onLoadFinished, so the wrapped cursor is re-used in onStartLoading if already present. Change-Id: I9310819498368b7bc34e38024701749afddba608