pull/32/head
kunfei 5 years ago
parent 8ed835b8cf
commit 1bd522181e
  1. 1
      app/src/main/AndroidManifest.xml
  2. 4
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt
  3. 13
      app/src/main/java/io/legado/app/ui/readrss/ReadRssActivity.kt
  4. 0
      app/src/main/res/layout/activity_read_book.xml
  5. 7
      app/src/main/res/layout/activity_read_rss.xml

@ -56,6 +56,7 @@
<activity android:name=".ui.booksource.BookSourceActivity" /> <activity android:name=".ui.booksource.BookSourceActivity" />
<activity android:name=".ui.readbook.ReadBookActivity" /> <activity android:name=".ui.readbook.ReadBookActivity" />
<activity android:name=".ui.chapterlist.ChapterListActivity" /> <activity android:name=".ui.chapterlist.ChapterListActivity" />
<activity android:name=".ui.readrss.ReadRssActivity" />
<service android:name=".service.CheckSourceService" /> <service android:name=".service.CheckSourceService" />
<service android:name=".service.DownloadService" /> <service android:name=".service.DownloadService" />

@ -15,12 +15,12 @@ import io.legado.app.ui.changesource.ChangeSourceDialog
import io.legado.app.ui.chapterlist.ChapterListActivity import io.legado.app.ui.chapterlist.ChapterListActivity
import io.legado.app.ui.replacerule.ReplaceRuleActivity import io.legado.app.ui.replacerule.ReplaceRuleActivity
import io.legado.app.utils.* import io.legado.app.utils.*
import kotlinx.android.synthetic.main.activity_read.* import kotlinx.android.synthetic.main.activity_read_book.*
import kotlinx.android.synthetic.main.view_title_bar.* import kotlinx.android.synthetic.main.view_title_bar.*
import org.jetbrains.anko.sdk27.listeners.onClick import org.jetbrains.anko.sdk27.listeners.onClick
import org.jetbrains.anko.startActivity import org.jetbrains.anko.startActivity
class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_read), ChangeSourceDialog.CallBack { class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_read_book), ChangeSourceDialog.CallBack {
override val viewModel: ReadBookViewModel override val viewModel: ReadBookViewModel
get() = getViewModel(ReadBookViewModel::class.java) get() = getViewModel(ReadBookViewModel::class.java)

@ -1,2 +1,15 @@
package io.legado.app.ui.readrss package io.legado.app.ui.readrss
import android.os.Bundle
import io.legado.app.R
import io.legado.app.base.BaseActivity
class ReadRssActivity : BaseActivity(R.layout.activity_read_rss) {
override fun onActivityCreated(savedInstanceState: Bundle?) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}

@ -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