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…
Reference in New Issue