ComposeGears / Tiamat

Simple Compose multiplatform navigation library
https://composegears.github.io/Tiamat/
Apache License 2.0
124 stars 0 forks source link

[Feature] Allow to request navigation action to any parent NavController #16

Closed egorikftp closed 2 months ago

egorikftp commented 2 months ago

I want to call

navController.parent(key).resolve(Data)

+

rememberNavController(..., resolver = { if(it is Data) this.navigate(...) })

it will be useful for multimodule navigation (without cycled dependencies)

vkatz commented 2 months ago

1) Will not be implements as it migh be done via compose itself 2) Made multi-module example to demonstrate one of the option (Signals/Broadcast-api)