Norway


I’ve been using a Handler to repeatedly run a background thread every 7 seconds. I just read about Loaders, and it seems it’s more convenient in that you don’t have to worry about orientation changes since it can survive the activity. However, is there a way to repeat a ? It seems you can restart a Loader, but it seems like it usually needs some UI interaction to trigger it (i.e. user performing a search). It seems like it could be done, but you’d have to use Handlers to repeatedly restart the Loader anyway.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here