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