pull/32/head
parent
8fb9dbde38
commit
a64c6e3831
@ -0,0 +1,19 @@ |
||||
package io.legado.app.ui.bookinfo |
||||
|
||||
import android.os.Bundle |
||||
import io.legado.app.R |
||||
import io.legado.app.base.BaseActivity |
||||
import io.legado.app.utils.getViewModel |
||||
|
||||
class BookInfoActivity : BaseActivity<BookInfoModel>() { |
||||
override val viewModel: BookInfoModel |
||||
get() = getViewModel(BookInfoModel::class.java) |
||||
override val layoutID: Int |
||||
get() = R.layout.activity_book_info |
||||
|
||||
override fun onViewModelCreated(viewModel: BookInfoModel, savedInstanceState: Bundle?) { |
||||
|
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,8 @@ |
||||
package io.legado.app.ui.bookinfo |
||||
|
||||
import android.app.Application |
||||
import io.legado.app.base.BaseViewModel |
||||
|
||||
class BookInfoModel(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…
Reference in new issue