dimanche 25 septembre 2016

AsyncTask & Fragments

Hi,

I'm trying to learn about AsynchTask and Fragments. One problem seems to be that when the fragment detatches from the main Activity and I gather that setRetainInstance(true) is supposed to avoid this problem, but I still get an "Error receiving broadcast Intent" caused by the fragment being "not attached to Activity."

I can post the code if necessary, but this seems like a routine enough kind of problem that I'm hoping there's a standard approach. I've done a lot of searching and...

AsyncTask & Fragments

from Android Authority Forums http://ift.tt/2dbn368
via IFTTT

Aucun commentaire:

Enregistrer un commentaire