Files
QieKan-3.0/app/src/main/java/io/legato/kazusa/base/VMBaseActivity.kt
T
2025-06-18 13:41:35 +08:00

17 lines
490 B
Kotlin

package io.legato.kazusa.base
import androidx.lifecycle.ViewModel
import androidx.viewbinding.ViewBinding
import io.legato.kazusa.constant.Theme
abstract class VMBaseActivity<VB : ViewBinding, VM : ViewModel>(
fullScreen: Boolean = true,
theme: Theme = Theme.Auto,
toolBarTheme: Theme = Theme.Auto,
transparent: Boolean = false,
imageBg: Boolean = true
) : BaseActivity<VB>(fullScreen, toolBarTheme, transparent, imageBg) {
protected abstract val viewModel: VM
}