79d4a2d9e1
Don't use restartLoader(). Use initLoader() with stopLoader() when necessary. This allows us to make use of LoaderManager's "retaining" feature. i.e. We won't have to requery when the screen orientation changes. Also, don't start loading in onStart(). Fragment manager seems to kick exisiting loaders after onStart(), so you'll end up getting onLoadFinished() twice. (Looks like I got unluck with this--there was no strong reason to start loading in onStart rather than onResume, but I think we can leave other fragments as-is as long as they don't use loaders.) Seems to be working. Change-Id: Ib4f72098bd0fcbfce284ae6e16055d20ee410cf3 |
||
---|---|---|
assets | ||
docs | ||
images | ||
res | ||
src | ||
tests | ||
.classpath | ||
.project | ||
Android.mk | ||
AndroidManifest.xml | ||
CleanSpec.mk | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
proguard.flags | ||
remove-exchange-support.sh |