pull/32/head
parent
ac9b10c8d7
commit
811c979141
@ -0,0 +1,18 @@ |
||||
package io.legado.app.ui.bookshelf |
||||
|
||||
import android.os.Bundle |
||||
import io.legado.app.R |
||||
import io.legado.app.base.BaseActivity |
||||
import io.legado.app.utils.getViewModel |
||||
|
||||
class BookshelfActivity : BaseActivity<BookshelfViewModel>() { |
||||
override val viewModel: BookshelfViewModel |
||||
get() = getViewModel(BookshelfViewModel::class.java) |
||||
override val layoutID: Int |
||||
get() = R.layout.activity_bookshelf |
||||
|
||||
override fun onViewModelCreated(viewModel: BookshelfViewModel, savedInstanceState: Bundle?) { |
||||
|
||||
} |
||||
|
||||
} |
@ -0,0 +1,8 @@ |
||||
package io.legado.app.ui.bookshelf |
||||
|
||||
import android.app.Application |
||||
import io.legado.app.base.BaseViewModel |
||||
|
||||
class BookshelfViewModel(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