Merge pull request #76 from anescient/master
save current tab in onStop rather than onDestroy
This commit is contained in:
commit
2321df3c34
|
@ -78,8 +78,8 @@ class MainActivity : SimpleActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
config.lastUsedViewPagerPage = view_pager.currentItem
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue