Files
QieKan-3.0/app/src/main/java/io/legado/app/base/VMBaseActivity.kt
T

17 lines
484 B
Kotlin

package io.legado.app.base
import androidx.lifecycle.ViewModel
import androidx.viewbinding.ViewBinding
import io.legado.app.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
}