All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.tech.skot.core.components.SKFrame.kt Maven / Gradle / Ivy

There is a newer version: 1.2.9
Show newest version
package tech.skot.core.components

import tech.skot.core.SKLog
import tech.skot.core.di.coreViewInjector

class SKFrame(val screens: Set>, screenInitial: SKScreen<*>? = null) : SKComponent() {

    override val view = coreViewInjector.frame(screens = screens.map { it.view }.toSet(), screenInitial = screenInitial?.view)

    var screen: SKScreen<*>? = null
        set(value) {
            field = value
            view.screen = value?.view
        }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy