Destination
interface Destination
Implementations of Destination represent minimum set of data, required to show screen.
Each implementation should be registered in Json via NavigationControllerSaver with Polymorphic serializer, so that it can be properly saved and restored by the navigation system.
Example:
@Serializable
data class ProfileDestination(val userId: String) : Destination {
override val args = Args()
}Content copied to clipboard
Inheritors
Types
Link copied to clipboard
@Serializable
The minimum set of data required for navigation system to handle Destination.
Link copied to clipboard
interface Result
Each implementation should be registered in Json via NavigationControllerSaver with Polymorphic serializer, so that it can be properly saved and restored by the navigation system.