public abstract class ChatItemsObserver extends ChatLogObserver
LivechatChatLogPath
observableConstructor and Description |
---|
ChatItemsObserver(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
update(java.util.LinkedHashMap<java.lang.String,ChatLog> chatLog)
Delivers the broadcast from
LivechatAgentsPath observable |
protected abstract void |
updateChatItems(java.util.TreeMap<java.lang.String,RowItem> items)
Delivers the broadcast from
LivechatChatLogPath observable |
update
protected void update(java.util.LinkedHashMap<java.lang.String,ChatLog> chatLog)
ChatLogObserver
LivechatAgentsPath
observable
This broadcast arrives on a non-UI thread.
Keep in mind that if updating UI elements you need to do so on the main thread using Activity.runOnUiThread(Runnable)
or Looper.getMainLooper()
.
update
in class ChatLogObserver
chatLog
- and their ID in the current chat sessionprotected abstract void updateChatItems(java.util.TreeMap<java.lang.String,RowItem> items)
LivechatChatLogPath
observable
This broadcast arrives on a non-UI thread.
Keep in mind that if updating UI elements you need to do so on the main thread using Activity.runOnUiThread(Runnable)
or Looper.getMainLooper()
.
items
- chat items and their ID in the current chat session