Participe do evento ⁠#Android11: apresentação de lançamento da versão Beta no dia 3 de junho.

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<?>