java - Android Loader trouble -


i reading code of udacity toturial loaders here.

there few things don't understand: (1) in asynctaskloader first make string stores json, , if understand correctly never thrown away long app isn't destroyed? or long loader doesn't finish?

(2) why shouldn't mgithubjson null? if not stored mean. if persists how can search new text if function stops result of olt search found?

(3)

deliverresult(mgithubjson); @override         public void deliverresult(string githubjson) {             mgithubjson = githubjson;             super.deliverresult(githubjson);         } 

how work? first writes value , same function called again?

(4) super.deliverresult else? call unoverriden function? unoverriden do? documentation kind of unclear me.

(5) forceload() execute loadinbackground()? why wouldn't called anyways after onstartloading?

sorry not understanding this, seems important apps guess should ask.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -