Looking at various pages in the Android docs, some of them list "Known Indirect Subclasses". What does this mean?
An indirect superclass of a subclass is two or more levels up the class hierarchy from that subclass. In single inheritance, a class is derived from one direct superclass. In multiple inheritance, a class is derived from more than one direct superclass.
For an interface, it's a list of classes that implement the interface.
For a class, it's a list of classes that derive from the class, but indirectly (ie., the class in the list is derived from some class that itself derives from the class being documented directly or indirectly).
So the android.view.ViewGroup
derives directly from android.view.View
and indirectly from java.lang.Object
:
java.lang.Object
android.view.View
android.view.ViewGroup
Since interfaces can only be implemented, not directly derived from, a class that implements an interface is always considered to be 'indirectly derived' from the interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With