优化代码

pull/783/head
gedoor 4 years ago
parent acc459cbb3
commit 14fb5dc1ac
  1. 11
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt

@ -86,6 +86,17 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b
Pair("groupId", selectedGroup?.groupId ?: 0), Pair("groupId", selectedGroup?.groupId ?: 0),
Pair("groupName", selectedGroup?.groupName ?: 0) Pair("groupName", selectedGroup?.groupName ?: 0)
) )
R.id.menu_export_bookshelf -> {
val group = bookGroups[tabLayout.selectedTabPosition]
val fragment = fragmentMap[group.groupId]
fragment?.getBooks()?.let {
}
}
R.id.menu_import_bookshelf -> {
val group = bookGroups[tabLayout.selectedTabPosition]
}
} }
} }

Loading…
Cancel
Save