public class ListChangeRegistry extends CallbackRegistry<ObservableList.OnListChangedCallback,ObservableList,android.databinding.ListChangeRegistry.ListChanges>
CallbackRegistry.NotifierCallback<C,T,A>| Constructor and Description |
|---|
ListChangeRegistry()
Creates an EventRegistry that notifies the event with notifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notifyCallbacks(ObservableList sender,
int notificationType,
android.databinding.ListChangeRegistry.ListChanges listChanges)
Notify all callbacks.
|
void |
notifyChanged(ObservableList list) |
void |
notifyChanged(ObservableList list,
int start,
int count) |
void |
notifyInserted(ObservableList list,
int start,
int count) |
void |
notifyMoved(ObservableList list,
int from,
int to,
int count) |
void |
notifyRemoved(ObservableList list,
int start,
int count) |
add, clear, clone, copyListeners, isEmpty, removepublic ListChangeRegistry()
public void notifyChanged(ObservableList list)
public void notifyChanged(ObservableList list, int start, int count)
public void notifyInserted(ObservableList list, int start, int count)
public void notifyMoved(ObservableList list, int from, int to, int count)
public void notifyRemoved(ObservableList list, int start, int count)
public void notifyCallbacks(ObservableList sender, int notificationType, android.databinding.ListChangeRegistry.ListChanges listChanges)
CallbackRegistrynotifyCallbacks in class CallbackRegistry<ObservableList.OnListChangedCallback,ObservableList,android.databinding.ListChangeRegistry.ListChanges>sender - The originator. This is an opaque parameter passed to
CallbackRegistry.NotifierCallback#onNotifyCallback(Object, Object, int, A)notificationType - An opaque parameter passed to
CallbackRegistry.NotifierCallback#onNotifyCallback(Object, Object, int, A)listChanges - An opaque parameter passed to
CallbackRegistry.NotifierCallback#onNotifyCallback(Object, Object, int, A)