Skip to content

Changing RoutingState.NavigateBack Result type to IRoutableViewModel. #2743

@HavenDV

Description

@HavenDV

I think RoutingState.NavigateBack should be

ReactiveCommand<Unit, IRoutableViewModel>

instead

ReactiveCommand<Unit, Unit>

This is more in line with the rest of the commands in this class and is more useful when you need to know the past screen (since it is removed from the stack during this command).
There is also an alternative here to return the current vm.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions