My misunderstanding continues ...
Can someone provide links for the correct use of get*Context()
? I get conflicting recommendations for using getBaseContext()
, getApplicationContext()
and getContext()
, and I understand that using this
is a convenience for get*Context()
. I would like to study in more detail what Dalvik intends to use for his object and access methods.
I had code scans that changed my calls to getBaseContext()
to getApplicationContext()
, now I see suggestions for using this.
source share