What is the difference between activity context and applicationcontext?
Answers
Answered by
0
Answer:
They are both instances of Context, but the application instance is tied to the lifecycle of the application, while the Activity instance is tied to the lifecycle of an Activity. The Activity context presumably has some information about the current activity that is necessary to complete those calls.
Similar questions
Hindi,
6 months ago
English,
6 months ago
Political Science,
6 months ago
Political Science,
1 year ago
Science,
1 year ago
English,
1 year ago