pull/32/head
kunfei 5 years ago
parent 64dc125897
commit c662e74a20
  1. 1
      app/src/main/AndroidManifest.xml
  2. 17
      app/src/main/java/io/legado/app/ui/read/ReadActivity.kt
  3. 8
      app/src/main/java/io/legado/app/ui/read/ReadViewModel.kt
  4. 7
      app/src/main/res/layout/activity_read.xml

@ -54,6 +54,7 @@
<activity android:name=".ui.bookinfo.BookInfoEditActivity" /> <activity android:name=".ui.bookinfo.BookInfoEditActivity" />
<activity android:name=".ui.sourcedebug.SourceDebugActivity" /> <activity android:name=".ui.sourcedebug.SourceDebugActivity" />
<activity android:name=".ui.booksource.BookSourceActivity" /> <activity android:name=".ui.booksource.BookSourceActivity" />
<activity android:name=".ui.read.ReadActivity" />
<service android:name=".service.CheckSourceService" /> <service android:name=".service.CheckSourceService" />
<service android:name=".service.DownloadService" /> <service android:name=".service.DownloadService" />

@ -0,0 +1,17 @@
package io.legado.app.ui.read
import android.os.Bundle
import io.legado.app.R
import io.legado.app.base.VMBaseActivity
import io.legado.app.utils.getViewModel
class ReadActivity : VMBaseActivity<ReadViewModel>(R.layout.activity_read) {
override val viewModel: ReadViewModel
get() = getViewModel(ReadViewModel::class.java)
override fun onActivityCreated(savedInstanceState: Bundle?) {
}
}

@ -0,0 +1,8 @@
package io.legado.app.ui.read
import android.app.Application
import io.legado.app.base.BaseViewModel
class ReadViewModel(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