[android-developers] Re: LoaderCallbacks.OnLoadFinished called twice in Fragments

2013-08-28 Thread Greenhand
Same. Although it is an old thread, I encounter the same issue, too. I find the thread http://stackoverflow.com/questions/11001475/listfragment-is-inflated-twice. It says put initLoader in onCreate() according to Fragment lifecycle (

Re: [android-developers] Re: LoaderCallbacks.OnLoadFinished called twice in Fragments

2013-08-28 Thread Hand Green
Putting initLoader in onCreate() causes onLoadFinished() be called twice. There is also another thread http://stackoverflow.com/questions/11293441/android-loadercallbacks-onloadfinished-called-twice. It suggest put initLoader in onCreate() in onResume(). It works but I do not know why.

[android-developers] Re: LoaderCallbacks.OnLoadFinished called twice in Fragments

2012-11-28 Thread Ben
Same On Wednesday, June 27, 2012 4:53:47 PM UTC+3, szakalinhoPL wrote: Hello, I noticed a strange situation when using Loader in Fragment (in Activity works well). I init Loader in onActivityCreated() as suggested in documentation

[android-developers] Re: LoaderCallbacks.OnLoadFinished called twice in Fragments

2012-09-04 Thread Héctor Júdez
Same issue here! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more