public abstract class ProfileObserver
extends java.lang.Object
implements java.util.Observer
LivechatProfilePath
observableConstructor and Description |
---|
ProfileObserver() |
Modifier and Type | Method and Description |
---|---|
void |
update(java.util.Observable observable,
java.lang.Object object) |
protected abstract void |
update(Profile profile)
Delivers the broadcast from
LivechatProfilePath observable |
public final void update(java.util.Observable observable, java.lang.Object object)
update
in interface java.util.Observer
protected abstract void update(Profile profile)
LivechatProfilePath
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()
.
profile
- of the current chat visitor