diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index a69b4b5c8..b76a9da30 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -38,7 +38,6 @@ - @@ -46,6 +45,7 @@ + \ No newline at end of file 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 new file mode 100644 index 000000000..b34e83eca --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt @@ -0,0 +1,19 @@ +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 BookInfoActivity : BaseActivity() { + override val viewModel: BookInfoModel + get() = getViewModel(BookInfoModel::class.java) + override val layoutID: Int + get() = R.layout.activity_book_info + + override fun onViewModelCreated(viewModel: BookInfoModel, 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/BookInfoModel.kt new file mode 100644 index 000000000..709e0ddb0 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoModel.kt @@ -0,0 +1,8 @@ +package io.legado.app.ui.bookinfo + +import android.app.Application +import io.legado.app.base.BaseViewModel + +class BookInfoModel(application: Application) : BaseViewModel(application) { + +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_book_info.xml b/app/src/main/res/layout/activity_book_info.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/activity_book_info.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file