Constants | ||
---|---|---|
int | EVENT_READ_DELAY | |
int | CONTACTS_UPDATE_DELAY |
Public Constructors | |
---|---|
DelayedContentObserver(Handler handler, int delay)
Create delayed content observer. |
Public Methods | |
---|---|
abstract void |
onChangeDelayed()
onChangeDelayed is called when the delay has passed and no new changes has been triggered during the delay. |
void | onChange(boolean selfChange) |
Constant Value: 1000 (0x000003e8)
Constant Value: 3000 (0x00000bb8)
Create delayed content observer.
handler | The handler. |
---|---|
delay | The delay in ms. |
onChangeDelayed is called when the delay has passed and no new changes has been triggered during the delay.
selfChange |
---|
The delayed content observer is used to handle a content observer change after a delay. If more content observer changes are triggered during the delay the original change is deleted and a new delay is set.