diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index db32747e6..9f73953a6 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -54,6 +54,7 @@ + diff --git a/app/src/main/java/io/legado/app/ui/read/ReadActivity.kt b/app/src/main/java/io/legado/app/ui/read/ReadActivity.kt new file mode 100644 index 000000000..ede69761d --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/read/ReadActivity.kt @@ -0,0 +1,17 @@ +package io.legado.app.ui.read + +import android.os.Bundle +import io.legado.app.R +import io.legado.app.base.VMBaseActivity +import io.legado.app.utils.getViewModel + +class ReadActivity : VMBaseActivity(R.layout.activity_read) { + override val viewModel: ReadViewModel + get() = getViewModel(ReadViewModel::class.java) + + override fun onActivityCreated(savedInstanceState: Bundle?) { + + } + + +} \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/read/ReadViewModel.kt b/app/src/main/java/io/legado/app/ui/read/ReadViewModel.kt new file mode 100644 index 000000000..098ad52d7 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/read/ReadViewModel.kt @@ -0,0 +1,8 @@ +package io.legado.app.ui.read + +import android.app.Application +import io.legado.app.base.BaseViewModel + +class ReadViewModel(application: Application) : BaseViewModel(application) { + +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_read.xml b/app/src/main/res/layout/activity_read.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/activity_read.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file