Merge pull request #76 from anescient/master

save current tab in onStop rather than onDestroy
This commit is contained in:
Tibor Kaputa 2018-07-16 19:54:36 +02:00 committed by GitHub
commit 2321df3c34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ class MainActivity : SimpleActivity() {
}
}
override fun onDestroy() {
super.onDestroy()
override fun onStop() {
super.onStop()
config.lastUsedViewPagerPage = view_pager.currentItem
}