阅读背景:

加载器被重用并包含数据时,不会调用LoaderCallbacks.onLoadFinished

来源:互联网 

I have 1 activity and 2 fragments. Both fragments use a custom AsyncTaskLoader to get some data from a webservice and as i'm using a Loader it should keep the data across activity and fragment re-creations. Both fragments override the onActivityCreated method and calls getLoaderManager().initLoader(0, null, this) which either creates a new or reuses an existing loader.I have 1 activity and 2 fragments. Both fragmen




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: