init fragments on resume if needed

This commit is contained in:
tibbi 2018-01-02 23:27:16 +01:00
parent 14f13b97e2
commit 98424ebd20
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
}
if (!isFirstResume) {
if (viewpager.adapter == null) {
initFragments()
}
contacts_fragment.initContacts()
contacts_fragment.onActivityResume()
favorites_fragment.initContacts()