|
|
@ -109,7 +109,9 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b |
|
|
|
synchronized(this) { |
|
|
|
synchronized(this) { |
|
|
|
tab_layout.removeOnTabSelectedListener(this) |
|
|
|
tab_layout.removeOnTabSelectedListener(this) |
|
|
|
bookGroups.clear() |
|
|
|
bookGroups.clear() |
|
|
|
|
|
|
|
if (AppConfig.bookGroupAllShow) { |
|
|
|
bookGroups.add(AppConst.bookGroupAll) |
|
|
|
bookGroups.add(AppConst.bookGroupAll) |
|
|
|
|
|
|
|
} |
|
|
|
if (AppConfig.bookGroupLocalShow) { |
|
|
|
if (AppConfig.bookGroupLocalShow) { |
|
|
|
bookGroups.add(AppConst.bookGroupLocal) |
|
|
|
bookGroups.add(AppConst.bookGroupLocal) |
|
|
|
} |
|
|
|
} |
|
|
|