Hi all,
I recently moved in to develop some application in Android.
Right now i am undergoing training.
Can anyone explain me the difference between Base Context, Application Context and Activity Context.
To my understanding:
Base Context is a reference to the System.
The hierarchy follows as:
System -> Context Wrapper -> Context -> App -> Activity
So if any view is to be dealt within the Activity i should use the Activity Context "this", by this, the moment the activity is killed the reference to the activity dies down.
Correct me if i am wrong...