Retaining old loader after rotation in child activity
I have a problem with using old loader in new activity. Situation : I use AsyncTaskLoader in my application and call initLoader() in activity's onCreate() method to get some information from the internet, then I launch child activity,rotate device and press back button. After these actions initLoader() calls, but it does not get old loader, it creates a new one. So I have following questiolns:
PS When I rotate device without leaving activity, it's all ok.
链接地址: http://www.djcxy.com/p/65360.html上一篇: 片段中的onCreateOptionsMenu()不会替换ActionBar菜单
下一篇: 儿童活动轮换后保留旧装载机