In Android programming, How many context
we can use at a time in different
simultaneously executed Threads Or Asynchronous tasks ?
Different invoking methods by which you can get context
getApplicationContext()
,getContext()
,getBaseContext()
- or
this
(when in the activity class).
Also check this :
When to call activity context OR application context?
If I am running many Threads at a same time so is it Ok to pass getApplicationContext()
in all of them or Some issue will occurs ???