mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-26 16:18:25 +01:00
init fragments on resume if needed
This commit is contained in:
parent
14f13b97e2
commit
98424ebd20
@ -99,6 +99,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||
}
|
||||
|
||||
if (!isFirstResume) {
|
||||
if (viewpager.adapter == null) {
|
||||
initFragments()
|
||||
}
|
||||
contacts_fragment.initContacts()
|
||||
contacts_fragment.onActivityResume()
|
||||
favorites_fragment.initContacts()
|
||||
|
Loading…
x
Reference in New Issue
Block a user