pull/32/head
kunfei 5 years ago
parent ac0268eb9a
commit bf9803681a
  1. 1
      app/src/main/AndroidManifest.xml
  2. 17
      app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt
  3. 9
      app/src/main/java/io/legado/app/ui/audio/AudioPlayViewModel.kt
  4. 7
      app/src/main/res/layout/activity_audio_play.xml

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

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

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