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