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()
|
||||
} else {
|
||||
refreshContacts(ALL_TABS_MASK)
|
||||
}
|
||||
|
||||
getAllFragments().forEach {
|
||||
it?.onActivityResume()
|
||||
getAllFragments().forEach {
|
||||
it?.onActivityResume()
|
||||
}
|
||||
}
|
||||
}
|
||||
isFirstResume = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue