Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
public interface

Observer

java.util.Observer

Class Overview

Observer is the interface to be implemented by objects that receive notification of updates on an Observable object.

See Also

Summary

Public Methods
abstract void update ( Observable observable, Object data)
This method is called if the specified Observable object's notifyObservers method is called (because the Observable object has been updated.

Public Methods

public abstract void update ( Observable observable, Object data)

Added in API level 1

This method is called if the specified Observable object's notifyObservers method is called (because the Observable object has been updated.

Parameters
observable the Observable object.
data the data passed to notifyObservers(Object) .