CallbackListener
Listener interface for a generic listener object.
This interface is implemented as an abstract class with already defined (empty) body for onError. You are only required to define onSuccess.
Callback listeners are always called on the originating thread or on main UI thread if the originating thread did not have a Looper.