pull/32/head
kunfei 5 years ago
parent 59d5255175
commit 7b4d33e342
  1. 1
      app/src/main/AndroidManifest.xml
  2. 18
      app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditActivity.kt
  3. 9
      app/src/main/java/io/legado/app/ui/replacerule/ReplaceEditViewModel.kt
  4. 7
      app/src/main/res/layout/activity_replace_edit.xml

@ -61,6 +61,7 @@
<activity android:name=".ui.chapterlist.ChapterListActivity" /> <activity android:name=".ui.chapterlist.ChapterListActivity" />
<activity android:name=".ui.readrss.ReadRssActivity" /> <activity android:name=".ui.readrss.ReadRssActivity" />
<activity android:name=".ui.audio.AudioPlayActivity" /> <activity android:name=".ui.audio.AudioPlayActivity" />
<activity android:name=".ui.replacerule.ReplaceEditActivity" />
<service android:name=".service.CheckSourceService" /> <service android:name=".service.CheckSourceService" />
<service android:name=".service.DownloadService" /> <service android:name=".service.DownloadService" />

@ -0,0 +1,18 @@
package io.legado.app.ui.replacerule
import android.os.Bundle
import io.legado.app.R
import io.legado.app.base.VMBaseActivity
import io.legado.app.utils.getViewModel
class ReplaceEditActivity :
VMBaseActivity<ReplaceEditViewModel>(R.layout.activity_replace_edit, false) {
override val viewModel: ReplaceEditViewModel
get() = getViewModel(ReplaceEditViewModel::class.java)
override fun onActivityCreated(savedInstanceState: Bundle?) {
}
}

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