Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

NavDestination.ClassType

public static abstract @interface NavDestination.ClassType
implements Annotation

androidx.navigation.NavDestination.ClassType


This optional annotation allows tooling to offer auto-complete for the android:name attribute. This should match the class type passed to NavDestination.parseClassFromName(Context, String, Class) when parsing the android:name attribute.

Summary

Public methods

Class<?> value()

Inherited methods

Public methods

value

public Class<?> value ()

Returns
Class<?>