From 14fb5dc1ac12e759fb2f7bf089275603bfb7d526 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 29 Dec 2020 22:22:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/main/bookshelf/BookshelfFragment.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt index fd4f39ee4..58a11e2c6 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt @@ -86,6 +86,17 @@ class BookshelfFragment : VMBaseFragment(R.layout.fragment_b Pair("groupId", selectedGroup?.groupId ?: 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] + + } } }