diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6cf4d7d67..9682d9f2e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -43,6 +43,7 @@ android:theme="@style/Activity.Permission"/> + \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/bookshelf/BookshelfActivity.kt b/app/src/main/java/io/legado/app/ui/bookshelf/BookshelfActivity.kt new file mode 100644 index 000000000..a1862417f --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/bookshelf/BookshelfActivity.kt @@ -0,0 +1,18 @@ +package io.legado.app.ui.bookshelf + +import android.os.Bundle +import io.legado.app.R +import io.legado.app.base.BaseActivity +import io.legado.app.utils.getViewModel + +class BookshelfActivity : BaseActivity() { + override val viewModel: BookshelfViewModel + get() = getViewModel(BookshelfViewModel::class.java) + override val layoutID: Int + get() = R.layout.activity_bookshelf + + override fun onViewModelCreated(viewModel: BookshelfViewModel, savedInstanceState: Bundle?) { + + } + +} \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/bookshelf/BookshelfViewModel.kt b/app/src/main/java/io/legado/app/ui/bookshelf/BookshelfViewModel.kt new file mode 100644 index 000000000..717663d89 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/bookshelf/BookshelfViewModel.kt @@ -0,0 +1,8 @@ +package io.legado.app.ui.bookshelf + +import android.app.Application +import io.legado.app.base.BaseViewModel + +class BookshelfViewModel(application: Application) : BaseViewModel(application) { + +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_bookshelf.xml b/app/src/main/res/layout/activity_bookshelf.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/activity_bookshelf.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file