public abstract class DepartmentsObserver extends Object implements Observer
LivechatDepartmentsPath
observableConstructor and Description |
---|
DepartmentsObserver() |
Modifier and Type | Method and Description |
---|---|
abstract void |
update(Map<String,Department> departments)
Delivers the broadcast from
LivechatDepartmentsPath observable |
void |
update(Observable observable,
Object object) |
public final void update(Observable observable, Object object)
public abstract void update(Map<String,Department> departments)
LivechatDepartmentsPath
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()
.
departments
- and their ID available in the chat session