What is an activity class: java.lang.Object or android.content.Context?
The class overview is not clear to me (see image).
In Java, each class has Objecta superclass (you can also get more information here ). Contextis a Java class, therefore it has Objectthe root of its inheritance tree in its hierarchy. Context- This is a class that contains information about the application environment described in the official documentation and Activityhas it in its inheritance tree.
Object
Context
Activity
Context is the base class for Activity.