mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-16 03:08:58 +03:00
Persist swiped space across viewpager recreations
Change-Id: I8a4010b8eaddcfe2ee906cb559336dc4c2e05bef
This commit is contained in:
parent
c1149858c4
commit
14d7921f35
1 changed files with 2 additions and 0 deletions
|
@ -568,6 +568,8 @@ class HomeDetailFragment @Inject constructor(
|
|||
transaction.commit()
|
||||
}
|
||||
}
|
||||
// In case the last space change was caused by swiping, we don't want to lose it
|
||||
appStateHandler.persistSelectedSpace()
|
||||
pagerSpaces = safeSpaces
|
||||
pagerTab = tab
|
||||
pagerPagingEnabled = pagingEnabled
|
||||
|
|
Loading…
Add table
Reference in a new issue