Resubscribe to library when a change of type enter occurs. Resolves #1093
This commit is contained in:
parent
28a21d0b8f
commit
166fb9a8e4
@ -167,13 +167,9 @@ class LibraryController(
|
|||||||
super.onChangeStarted(handler, type)
|
super.onChangeStarted(handler, type)
|
||||||
if (type.isEnter) {
|
if (type.isEnter) {
|
||||||
activity?.tabs?.setupWithViewPager(view?.view_pager)
|
activity?.tabs?.setupWithViewPager(view?.view_pager)
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onAttach(view: View) {
|
|
||||||
super.onAttach(view)
|
|
||||||
presenter.subscribeLibrary()
|
presenter.subscribeLibrary()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
override fun onDestroyView(view: View) {
|
override fun onDestroyView(view: View) {
|
||||||
super.onDestroyView(view)
|
super.onDestroyView(view)
|
||||||
|
Loading…
Reference in New Issue
Block a user