@ -67,6 +67,12 @@ class BookInfoActivity : VMBaseActivity<BookInfoViewModel>(R.layout.activity_boo
}
R.id.menu_refresh -> {
upLoading(true)
viewModel.bookData.value?.let {
viewModel.loadBookInfo(it)
return super.onCompatOptionsItemSelected(item)
@ -10,7 +10,6 @@
<item
android:id="@+id/menu_refresh"
android:icon="@drawable/ic_refresh_black_24dp"
android:title="@string/refresh"
app:showAsAction="never" />