{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

CallSuper

@MustBeDocumented
@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER])
public annotation CallSuper


Denotes that any overriding methods should invoke this method as well.

Example:

@CallSuper
public abstract void onFocusLost();

Summary

Public constructors

Public constructors

CallSuper

public CallSuper()