ClassType

@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) class ClassType
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 parseClassFromName(Context, String, Class) when parsing the android:name attribute.

Summary

Public constructors

<init>(value: KClass<Any>)

This optional annotation allows tooling to offer auto-complete for the android:name attribute.

Properties

KClass<Any>

Public constructors

<init>

ClassType(value: KClass<Any>)

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

Properties

value

val value: KClass<Any>