What is the difference between getbasecontext and getapplicationcontext?
Answers
Answered by
0
getApplicationContext() Application context is associated with the Application and will always be the same throughout the life cycle.
getBasecontext() should not be used, just use Context instead of it which is associated with the activity and can be destroyed when the activity is destroyed.
pulkitdube:
Hope it will help you. Please mark the answer as the Brainliest
Similar questions