commonMain.cinematic.Scene.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cinematic-scene-core Show documentation
Show all versions of cinematic-scene-core Show documentation
A multiplatfrom library for authoring Scenes (viewmodel) in an MVIVM architecture
@file:JsExport
@file:Suppress("NON_EXPORTABLE_TYPE")
package cinematic
import kotlinx.JsExport
abstract class Scene(state: S) : BaseScene() {
val ui: MutableLive<@UnsafeVariance S> = mutableLiveOf(state)
override fun onCleared() {
ui.stopAll()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy