What is Context in android ?
This is an abstract class inherited from Object class. It is implemented by the Android system to provide the information about application environment and access resources.
Few important points about the context:
- It is the context of the current state of the application.
- It can be used to get information regarding the activity and application.
- It can be used to get access to resources, databases, and shared preferences, and etc.
There are mainly two types of context:
Comments
Post a Comment