Releases: Tlaster/PreCompose
Releases · Tlaster/PreCompose
1.4.0
PreCompose version is now aligned with Compose Multiplatform with major and mirror versions.
What's changed
- Internal rework for
NavHost
,Navigator
,RouteStackManager
. - LiveData has been removed
- ViewModel now in a separate library:
moe.tlaster.precompose-viewmodel
. moe.tlaster.precompose.ui.viewModel
now moved tomoe.tlaster.precompose.viewmodel.viewModel
.moe.tlaster.precompose.ui.LocalLifecycleOwner
now moved tomoe.tlaster.precompose.lifecycle.LocalLifecycleOwner
.ViewModelStoreOwner
removed, replaced withStateHolder
.Disposable
removed, use Kotlin'sAutoCloseable
instead.- New
producePresenter
in molecule integration. BackHandler
now acceptsenabled
as a parameter.BackStackEntry.route
is nowRoute
instead ofComposeRoute
.Navigator.canGoBack
is nowFlow<Boolean>
instead ofBoolean
.Route.pathKeys
has been removed.BackDispatcher.onBackPress
no longer returnsBoolean
.- New
BackDispatcher.canHandleBackPress
.
Dependencies
- Compose Multiplatform 1.4.0
- Kotlin 1.8.20
- Molecule 0.9.0
- AndroidX Activity 1.7.0