It is not necessary to indicate all of these methods or any of them. It depends on what type of implementation you want.
Example I created my activity (A) because it extends Activity I, but does not override any methods like onCreate (), but I created some variables and created some of the methods. Suppose I created a second activity where I want to customize some kind of performance. I used the onCreate () method. If I want the variables and methods that I defined in the AI activity, they can get these variables and methods. If I write class B extends A
Therefore, it is not necessary to use all these methods from activity. If you have not written your own implementation, then the default implementation will be implemented.
user831722
source share