addUpdateListener
Registers a listener for flag changes.
The listener is called on the main thread after a refresh changed any flag. Adding the same listener twice registers it once.
Parameters
listener
the listener to notify
Registers a listener for flag changes.
The listener is called on the main thread after a refresh changed any flag. Adding the same listener twice registers it once.
the listener to notify