android.databinding
Class CallbackRegistry.NotifierCallback<C,T,A>

java.lang.Object
  extended by android.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.Object

Class used to notify events from CallbackRegistry.


Constructor Summary
CallbackRegistry.NotifierCallback()
           
 
Method Summary
abstract  void onNotifyCallback(C callback, T sender, int arg, A arg2)
          Called by CallbackRegistry during CallbackRegistry.notifyCallbacks(Object, int, Object)} to notify the callback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackRegistry.NotifierCallback

public CallbackRegistry.NotifierCallback()
Method Detail

onNotifyCallback

public abstract void onNotifyCallback(C callback,
                                      T sender,
                                      int arg,
                                      A arg2)
Called by CallbackRegistry during CallbackRegistry.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 in CallbackRegistry.notifyCallbacks(T, int, A)
See Also:
CallbackRegistry.CallbackRegistry(CallbackRegistry.NotifierCallback)