Navigator.Name


@Retention(value = AnnotationRetention.RUNTIME)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS])
public annotation Navigator.Name


This annotation should be added to each Navigator subclass in Android to denote the default name used to register the Navigator with a NavigatorProvider.

On all non-Android platforms, this annotation will do nothing and you should set the name via the constructor or it will default to the className with any "Navigator" suffix removed. (i.e. DestinationNavigator will become Destination.)

Summary

Public constructors

Public methods

final @NonNull String

Public constructors

Name

public Name(@NonNull String value)

Public methods

getValue

public final @NonNull String getValue()