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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -