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() {
|
override fun onStop() {
|
||||||
super.onDestroy()
|
super.onStop()
|
||||||
config.lastUsedViewPagerPage = view_pager.currentItem
|
config.lastUsedViewPagerPage = view_pager.currentItem
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue