up aboutActivity

pull/32/head
GKF 6 years ago
parent c16319a4bf
commit e29e6fcbaa
  1. 16
      app/src/main/java/io/legado/app/ui/about/AboutActivity.kt

@ -1,13 +1,19 @@
package io.legado.app.ui.about
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.AndroidViewModel
import io.legado.app.R
import io.legado.app.base.BaseActivity
import io.legado.app.utils.getViewModel
class AboutActivity : AppCompatActivity() {
class AboutActivity : BaseActivity<AndroidViewModel>() {
override val viewModel: AndroidViewModel
get() = getViewModel(AndroidViewModel::class.java)
override val layoutID: Int
get() = R.layout.activity_about
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_about)
override fun onViewModelCreated(viewModel: AndroidViewModel, savedInstanceState: Bundle?) {
super.onViewModelCreated(viewModel, savedInstanceState)
}
}

Loading…
Cancel
Save