Skip to content

1.5.5

Compare
Choose a tag to compare
@Tlaster Tlaster released this 02 Nov 14:48
· 225 commits to master since this release
f49e06a

What's Changed

New Contributors

Full Changelog: 1.5.4...1.5.5

Setup migration guide

Wrap the App()

Wrap your App with PreComposApp like this:

@Composable
fun App() {
    PreComposeApp {
        // your app's content goes here
    }
}

Android

Replace moe.tlaster.precompose.lifecycle.PreComposeActivity and moe.tlaster.precompose.lifecycle.setContent with standard AndroidX ComponentActivity and Jetpack's setContent

iOS

Replace moe.tlaster.precompose.PreComposeApplication with standard androidx.compose.ui.window.ComposeUIViewController

Desktop(JVM)

Replace moe.tlaster.precompose.PreComposeWindow with androidx.compose.ui.window.Window

Native macOS

You can still use moe.tlaster.precompose.PreComposeWindow, or replace with standard ComposeWindow

Web (Canvas)

You can still use moe.tlaster.precompose.preComposeWindow, or replace with standard androidx.compose.ui.window.ComposeWindow