findViewById()
is a method in the Activity
class from which you are extending given you are in an Activity
. Just like any method which is defined within a class or parent class, this method can be called without using a class name or reference.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…