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. 2013/8/28

[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 ( http://developer.android.com/guide/topics/fundamentals/fragm

[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 (http://developer.android.com/guide/components/loaders.

[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