Replace NavDestination annotations
Closed this issue · 0 comments
gabrielittner commented
Instead add separate versions of the regular @Compose...
and @Renderer...
annotations where
scope
hasKClass<out NavRoute>
as type (with this the route class will be used as a scope marker, so there is no need to create an extra marker class)- add
destinationType: DestinationType
parameter that defaults toDestinationType.Screen
- add
destinationScope: KClass<*>
parameter