mirror of
https://github.com/FossifyOrg/Contacts.git
synced 2026-02-01 11:12:02 -05:00
init fragments on resume if needed
This commit is contained in:
@@ -99,6 +99,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||
}
|
||||
|
||||
if (!isFirstResume) {
|
||||
if (viewpager.adapter == null) {
|
||||
initFragments()
|
||||
}
|
||||
contacts_fragment.initContacts()
|
||||
contacts_fragment.onActivityResume()
|
||||
favorites_fragment.initContacts()
|
||||
|
||||
Reference in New Issue
Block a user