abbic
02/20/2023, 4:39 PMconfig = viewModelConfig {
withRouter(...)
}
just as an exampleabbic
02/20/2023, 4:44 PMfun viewModelConfig(block: BallastViewModelConfig.Builder.() -> Unit): BallastViewModelConfig {
return BallastViewModelConfig.Builder().apply {
block()
}.build()
}
probs stating the obvious. id be happy to possibly contribute this myself as ive written a handful of these in the past, only im not familiar with ballastCasey Brooks
02/20/2023, 5:01 PMabbic
02/20/2023, 5:03 PM