pull/90/head^2
kunfei 5 years ago
parent baa8b95200
commit db4f300064
  1. 1
      app/src/main/AndroidManifest.xml
  2. 1
      app/src/main/java/io/legado/app/ui/README.md
  3. 23
      app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt
  4. 9
      app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt
  5. 7
      app/src/main/res/layout/activity_arrange_book.xml

@ -78,6 +78,7 @@
<activity <activity
android:name=".ui.about.DonateActivity" android:name=".ui.about.DonateActivity"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
<activity android:name=".ui.book.arrange.ArrangeBookActivity" />
<activity android:name=".ui.book.info.BookInfoActivity" /> <activity android:name=".ui.book.info.BookInfoActivity" />
<activity android:name="io.legado.app.ui.book.info.edit.BookInfoEditActivity" /> <activity android:name="io.legado.app.ui.book.info.edit.BookInfoEditActivity" />
<activity android:name=".ui.book.source.debug.BookSourceDebugActivity" /> <activity android:name=".ui.book.source.debug.BookSourceDebugActivity" />

@ -2,6 +2,7 @@
* about 关于界面 * about 关于界面
* audio 音频播放界面 * audio 音频播放界面
* book\arrange 书架整理界面
* book\info 书籍信息查看 * book\info 书籍信息查看
* book\read 书籍阅读界面 * book\read 书籍阅读界面
* book\search 搜索书籍界面 * book\search 搜索书籍界面

@ -0,0 +1,23 @@
package io.legado.app.ui.book.arrange
import android.os.Bundle
import androidx.lifecycle.LiveData
import io.legado.app.R
import io.legado.app.base.VMBaseActivity
import io.legado.app.data.entities.Book
import io.legado.app.utils.getViewModel
class ArrangeBookActivity : VMBaseActivity<ArrangeBookViewModel>(R.layout.activity_arrange_book) {
override val viewModel: ArrangeBookViewModel
get() = getViewModel(ArrangeBookViewModel::class.java)
private var booksLiveData: LiveData<Book>? = null
override fun onActivityCreated(savedInstanceState: Bundle?) {
}
}

@ -0,0 +1,9 @@
package io.legado.app.ui.book.arrange
import android.app.Application
import io.legado.app.base.BaseViewModel
class ArrangeBookViewModel(application: Application) : BaseViewModel(application) {
}

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
Loading…
Cancel
Save