🧱 Brick - Multiplatform navigation library for Compose.
val component1 = Component<Unit>( key = "CompositeScreenInternal 1", keepAliveCompose = true, //to keep compose ui in the graph (NOTE!!! ANIMATION DIDN'T WORK WITH keepAliveCompose = true. default = false) ...
onRouterEmpty
inside child routers when called newRootComponent
method (https://github.com/alphicc/Brick/issues/17)redirectArgument
deprecated now//TreeRouter.kt
fun new(config: RouterConfig): TreeRouter = TreeRouterImpl(config = config)
fun branch(containerComponentKey: String, config: RouterConfig): TreeRouter
data class RouterConfig(
val broadcastFlowReplay: Int, //Settings for your broadcast flow
val broadcastFlowExtraBufferCapacity: Int //Settings for your broadcast flow
)
Update version