pull/34/head
kunfei 5 years ago
parent 80aeb5d400
commit 4b3d4dc84b
  1. 1
      app/src/main/AndroidManifest.xml
  2. 16
      app/src/main/java/io/legado/app/ui/rss/source/RssSourceActivity.kt
  3. 8
      app/src/main/java/io/legado/app/ui/rss/source/RssSourceViewModel.kt
  4. 7
      app/src/main/res/layout/activity_rss_source.xml

@ -65,6 +65,7 @@
<activity android:name=".ui.rss.read.ReadRssActivity" />
<activity android:name=".ui.audio.AudioPlayActivity" />
<activity android:name=".ui.explore.ExploreShowActivity" />
<activity android:name=".ui.rss.source.RssSourceActivity" />
<service android:name=".service.CheckSourceService" />
<service android:name=".service.DownloadService" />

@ -1,2 +1,18 @@
package io.legado.app.ui.rss.source
import android.os.Bundle
import io.legado.app.R
import io.legado.app.base.VMBaseActivity
import io.legado.app.utils.getViewModel
class RssSourceActivity : VMBaseActivity<RssSourceViewModel>(R.layout.activity_rss_source) {
override val viewModel: RssSourceViewModel
get() = getViewModel(RssSourceViewModel::class.java)
override fun onActivityCreated(savedInstanceState: Bundle?) {
}
}

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