diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b76a9da30..41413c902 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -46,6 +46,7 @@ + \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/analyzeJsoup.kt b/app/src/main/java/io/legado/app/model/analyzeRule/analyzeJsoup.kt new file mode 100644 index 000000000..c65049d4e --- /dev/null +++ b/app/src/main/java/io/legado/app/model/analyzeRule/analyzeJsoup.kt @@ -0,0 +1,2 @@ +package io.legado.app.model.analyzeRule + diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt index b34e83eca..083fb8823 100644 --- a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt @@ -5,13 +5,13 @@ import io.legado.app.R import io.legado.app.base.BaseActivity import io.legado.app.utils.getViewModel -class BookInfoActivity : BaseActivity() { - override val viewModel: BookInfoModel - get() = getViewModel(BookInfoModel::class.java) +class BookInfoActivity : BaseActivity() { + override val viewModel: BookInfoViewModel + get() = getViewModel(BookInfoViewModel::class.java) override val layoutID: Int get() = R.layout.activity_book_info - override fun onViewModelCreated(viewModel: BookInfoModel, savedInstanceState: Bundle?) { + override fun onViewModelCreated(viewModel: BookInfoViewModel, savedInstanceState: Bundle?) { } diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoEditActivity.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoEditActivity.kt new file mode 100644 index 000000000..4572b425d --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoEditActivity.kt @@ -0,0 +1,18 @@ +package io.legado.app.ui.bookinfo + +import android.os.Bundle +import io.legado.app.R +import io.legado.app.base.BaseActivity +import io.legado.app.utils.getViewModel + +class BookInfoEditActivity : BaseActivity() { + override val viewModel: BookInfoViewModel + get() = getViewModel(BookInfoViewModel::class.java) + override val layoutID: Int + get() = R.layout.activity_book_info_edit + + override fun onViewModelCreated(viewModel: BookInfoViewModel, savedInstanceState: Bundle?) { + + } + +} \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoModel.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt similarity index 56% rename from app/src/main/java/io/legado/app/ui/bookinfo/BookInfoModel.kt rename to app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt index 709e0ddb0..cf943895d 100644 --- a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoModel.kt +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt @@ -3,6 +3,6 @@ package io.legado.app.ui.bookinfo import android.app.Application import io.legado.app.base.BaseViewModel -class BookInfoModel(application: Application) : BaseViewModel(application) { +class BookInfoViewModel(application: Application) : BaseViewModel(application) { } \ No newline at end of file diff --git a/app/src/main/res/layout/activity_book_info_edit.xml b/app/src/main/res/layout/activity_book_info_edit.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/activity_book_info_edit.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file