mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 15:59:29 +00:00
Add workaround messagesList to remove on fragment resume progressbar
This commit is contained in:
parent
be8c904593
commit
ff078e9550
@ -354,6 +354,11 @@ public class ConversationFragment extends Fragment
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
onGotConversationInfo(conversationInfo);
|
onGotConversationInfo(conversationInfo);
|
||||||
|
|
||||||
|
//Remove progress if we already have messages
|
||||||
|
if(messagesList != null)
|
||||||
|
if(messagesList.size() > 0)
|
||||||
|
display_main_progress_bar(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -450,7 +455,7 @@ public class ConversationFragment extends Fragment
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Inform about dataset update
|
//Inform about data set update
|
||||||
convMessAdapter.notifyDataSetChanged();
|
convMessAdapter.notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user