Most visited

Recently visited

CallbackRegistry.NotifierCallback

public static abstract class CallbackRegistry.NotifierCallback
extends Object

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


用于从CallbackRegistry通知事件的类。

Summary

Public constructors

CallbackRegistry.NotifierCallback()

Public methods

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

由CallbackRegistry在 notifyCallbacks(Object, int, Object)期间 notifyCallbacks(Object, int, Object) }来通知回调。

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)

notifyCallbacks(Object, int, Object) }期间由CallbackRegistry调用以通知回调。

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)

也可以看看:

Hooray!