Package androidx.databinding
Class CallbackRegistry.NotifierCallback<C,T,A>
- java.lang.Object
-
- androidx.databinding.CallbackRegistry.NotifierCallback<C,T,A>
-
- Type Parameters:
C- The callback type.T- The notification sender type. Typically this is the containing class.A- An opaque argument to pass to the notifier
- Enclosing class:
- CallbackRegistry<C,T,A>
public abstract static class CallbackRegistry.NotifierCallback<C,T,A> extends java.lang.ObjectClass used to notify events from CallbackRegistry.
-
-
Constructor Summary
Constructors Constructor Description NotifierCallback()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidonNotifyCallback(C callback, T sender, int arg, A arg2)Called by CallbackRegistry duringCallbackRegistry.notifyCallbacks(Object, int, Object)} to notify the callback.
-
-
-
Method Detail
-
onNotifyCallback
public abstract void onNotifyCallback(C callback, T sender, int arg, A arg2)
Called by CallbackRegistry duringCallbackRegistry.notifyCallbacks(Object, int, Object)} to notify the callback.- Parameters:
callback- The callback to notify.sender- The opaque sender object.arg- The opaque notification parameter.arg2- An opaque argument passed inCallbackRegistry.notifyCallbacks(T, int, A)- See Also:
CallbackRegistry(CallbackRegistry.NotifierCallback)
-
-