From 7b4d33e34218447568484198836ce7826cfa8176 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 2 Sep 2019 16:53:30 +0800 Subject: [PATCH] up --- app/src/main/AndroidManifest.xml | 1 + .../app/ui/replacerule/ReplaceEditActivity.kt | 18 ++++++++++++++++++ .../app/ui/replacerule/ReplaceEditViewModel.kt | 9 +++++++++ .../main/res/layout/activity_replace_edit.xml | 7 +++++++ 4 files changed, 35 insertions(+) create mode 100644 app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditActivity.kt create mode 100644 app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditViewModel.kt create mode 100644 app/src/main/res/layout/activity_replace_edit.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bca5f59fb..a3aa7b7b5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -61,6 +61,7 @@ + diff --git a/app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditActivity.kt b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditActivity.kt new file mode 100644 index 000000000..3870a752c --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditActivity.kt @@ -0,0 +1,18 @@ +package io.legado.app.ui.replacerule + +import android.os.Bundle +import io.legado.app.R +import io.legado.app.base.VMBaseActivity +import io.legado.app.utils.getViewModel + +class ReplaceEditActivity : + VMBaseActivity(R.layout.activity_replace_edit, false) { + override val viewModel: ReplaceEditViewModel + get() = getViewModel(ReplaceEditViewModel::class.java) + + override fun onActivityCreated(savedInstanceState: Bundle?) { + + } + + +} diff --git a/app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditViewModel.kt b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditViewModel.kt new file mode 100644 index 000000000..5e643727d --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditViewModel.kt @@ -0,0 +1,9 @@ +package io.legado.app.ui.replacerule + +import android.app.Application +import io.legado.app.base.BaseViewModel + +class ReplaceEditViewModel(application: Application) : BaseViewModel(application) { + + +} diff --git a/app/src/main/res/layout/activity_replace_edit.xml b/app/src/main/res/layout/activity_replace_edit.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/activity_replace_edit.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file