private void notifyConversationVerificationStateChanged( String conversationId, Verification previousVerification, Verification currentVerification) { for (ConversationStoreObserver observer : conversationStoreObservers) { observer.onVerificationStateChanged( conversationId, previousVerification, currentVerification); } }
protected void notifyCurrentConversationHasChanged( IConversation fromConversation, IConversation toConversation, ConversationChangeRequester conversationChangerSender) { for (ConversationStoreObserver conversationStoreObserver : conversationStoreObservers) { conversationStoreObserver.onCurrentConversationHasChanged( fromConversation, toConversation, conversationChangerSender); } }
@Override public void addConversationStoreObserverAndUpdate( ConversationStoreObserver conversationStoreObserver) { addConversationStoreObserver(conversationStoreObserver); if (selectedConversation != null) { conversationStoreObserver.onCurrentConversationHasChanged( null, selectedConversation, ConversationChangeRequester.UPDATER); conversationStoreObserver.onConversationSyncingStateHasChanged(getConversationSyncingState()); } if (conversationsList != null) { conversationStoreObserver.onConversationListUpdated(conversationsList); } }
protected void notifySyncChanged(SyncState syncState) { for (ConversationStoreObserver observer : conversationStoreObservers) { observer.onConversationSyncingStateHasChanged(syncState); } }
private void notifyMenuConversationUpdated() { for (ConversationStoreObserver conversationStoreObserver : conversationStoreObservers) { conversationStoreObserver.onMenuConversationHasChanged(menuConversation); } }
private void notifyConversationListUpdated() { for (ConversationStoreObserver conversationStoreObserver : conversationStoreObservers) { conversationStoreObserver.onConversationListUpdated(conversationsList); } }