Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

CallbackRegistry.NotifierCallback

public static abstract class CallbackRegistry.NotifierCallback
extends Object

java.lang.Object
   ↳ android.databinding.CallbackRegistry.NotifierCallback<C, T, A>


Class used to notify events from CallbackRegistry.

Summary

Public constructors

CallbackRegistry.NotifierCallback()

Public methods

abstract void onNotifyCallback(C callback, T sender, int arg, A arg2)

Called by CallbackRegistry during notifyCallbacks(Object, int, Object)} to notify the callback.

Inherited methods

From class java.lang.Object

Public constructors

CallbackRegistry.NotifierCallback

CallbackRegistry.NotifierCallback ()

Public methods

onNotifyCallback

void onNotifyCallback (C callback, 
                T sender, 
                int arg, 
                A arg2)

Called by CallbackRegistry during notifyCallbacks(Object, int, Object)} to notify the callback.

Parameters
callback C: The callback to notify.

sender T: The opaque sender object.

arg int: The opaque notification parameter.

arg2 A: An opaque argument passed in notifyCallbacks(T, int, A)