NavDestination.ClassType

@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS])
public annotation 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 when parsing the android:name attribute.

Summary

Public constructors

Public methods

final @NonNull KClass<@NonNull ?>

Public constructors

ClassType

public ClassType(@NonNull KClass<@NonNull ?> value)

Public methods

getValue

public final @NonNull KClass<@NonNull ?> getValue()