diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4663ae81d..6cf4d7d67 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -42,6 +42,7 @@ + \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt new file mode 100644 index 000000000..f4db1d5b4 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt @@ -0,0 +1,19 @@ +package io.legado.app.ui.sourceedit + +import android.os.Bundle +import io.legado.app.R +import io.legado.app.base.BaseActivity +import io.legado.app.utils.getViewModel + +class SourceEditActivity : BaseActivity() { + override val viewModel: SourceEditViewModel + get() = getViewModel(SourceEditViewModel::class.java) + override val layoutID: Int + get() = R.layout.activity_source_edit + + override fun onViewModelCreated(viewModel: SourceEditViewModel, savedInstanceState: Bundle?) { + + } + + +} \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditViewModel.kt b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditViewModel.kt new file mode 100644 index 000000000..4be930291 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditViewModel.kt @@ -0,0 +1,8 @@ +package io.legado.app.ui.sourceedit + +import android.app.Application +import androidx.lifecycle.AndroidViewModel + +class SourceEditViewModel(application: Application) : AndroidViewModel(application) { + +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_source_edit.xml b/app/src/main/res/layout/activity_source_edit.xml new file mode 100644 index 000000000..024dedb49 --- /dev/null +++ b/app/src/main/res/layout/activity_source_edit.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file