Android Inheritance Structure

Asked 2 years ago, Updated 2 years ago, 22 views

I want to know the detailed inheritance hierarchy on Android.

For example, if you follow the inheritance of main activity, there is a wrapper and what is context Depending on the function of the app, the inheritance from the activity is different. The hierarchy of inheritance and its description (I want to know why it must be inherited in order to implement its function).

android

2022-09-22 16:54

1 Answers

The developers in the industry are also asking about the inheritance hierarchy you mentioned in the question I don't make it after I know it all.

However, Googling for commonly used things and functions needed in projects It's mostly checking and applying.

If you are curious about the classes offered by Android,

https://developer.android.com/reference/classes.html

Visit the link above to confirm the role of each class.

Context is a little vague, but to put it simply, Used to call and access API provided by Android system It can be expressed as a medium or a channel.


2022-09-22 16:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.