trigger activityResume only at live fragments
This commit is contained in:
parent
7640d16ef8
commit
fadfcb139a
1 changed files with 3 additions and 3 deletions
|
|
@ -150,10 +150,10 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||||
initFragments()
|
initFragments()
|
||||||
} else {
|
} else {
|
||||||
refreshContacts(ALL_TABS_MASK)
|
refreshContacts(ALL_TABS_MASK)
|
||||||
}
|
|
||||||
|
|
||||||
getAllFragments().forEach {
|
getAllFragments().forEach {
|
||||||
it?.onActivityResume()
|
it?.onActivityResume()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
isFirstResume = false
|
isFirstResume = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue