A B C G I M N O P R S V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addChangeEventListener(L) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Attach a
BaseChangeEventListenerto this array. - ADDED - com.firebase.ui.common.ChangeEventType
-
An element was added to the array.
- assertNonNull(Object, String) - Static method in class com.firebase.ui.common.Preconditions
- assertNull(Object, String) - Static method in class com.firebase.ui.common.Preconditions
B
- BaseCachingSnapshotParser<S,T> - Class in com.firebase.ui.common
-
Implementation of
BaseSnapshotParserthat caches results, so parsing a snapshot repeatedly is not expensive. - BaseCachingSnapshotParser(BaseSnapshotParser<S, T>) - Constructor for class com.firebase.ui.common.BaseCachingSnapshotParser
- BaseChangeEventListener<S,E> - Interface in com.firebase.ui.common
-
Event listener for changes in an
BaseObservableSnapshotArray. - BaseObservableSnapshotArray<S,E,L extends BaseChangeEventListener<S,E>,T> - Class in com.firebase.ui.common
-
Exposes a collection of
BaseObservableSnapshotArrayitems in a database as aListofBaseObservableSnapshotArrayobjects. - BaseObservableSnapshotArray(BaseCachingSnapshotParser<S, T>) - Constructor for class com.firebase.ui.common.BaseObservableSnapshotArray
-
Create an BaseObservableSnapshotArray with a custom
BaseSnapshotParser. - BaseSnapshotParser<S,T> - Interface in com.firebase.ui.common
-
Common interface for snapshot parsers.
C
- CHANGED - com.firebase.ui.common.ChangeEventType
-
An element in the array has new content.
- ChangeEventType - Enum in com.firebase.ui.common
-
Enumeration of change event types for children of an observable snapshot array.
- checkNotNull(T) - Static method in class com.firebase.ui.common.Preconditions
- clear() - Method in class com.firebase.ui.common.BaseCachingSnapshotParser
-
Clear all data in the cache.
- clear() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Clear data and notify all listeners.
- com.firebase.ui.common - package com.firebase.ui.common
G
- get(int) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
- getId(S) - Method in class com.firebase.ui.common.BaseCachingSnapshotParser
-
Get a unique identifier for a snapshot, should not depend on snapshot content.
- getSnapshot(int) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Returns the snapshot at the specified position in this list.
- getSnapshots() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Get the list of snapshots mirroring the server's data.
I
- invalidate(S) - Method in class com.firebase.ui.common.BaseCachingSnapshotParser
-
Invalidate the cache for a certain document.
- isListening() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
- isListening(L) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
M
- MOVED - com.firebase.ui.common.ChangeEventType
-
An element in the array has new content, which caused a change in position.
N
- notifyOnChildChanged(ChangeEventType, S, int, int) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
- notifyOnDataChanged() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
- notifyOnError(E) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
O
- onChildChanged(ChangeEventType, S, int, int) - Method in interface com.firebase.ui.common.BaseChangeEventListener
-
A callback for when a child event occurs.
- onCreate() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Called when the
BaseObservableSnapshotArrayis active and should start listening to the Firebase database. - onDataChanged() - Method in interface com.firebase.ui.common.BaseChangeEventListener
-
Callback triggered after all child events in a particular snapshot have been processed.
- onDestroy() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Called when the
BaseObservableSnapshotArrayis inactive and should stop listening to the Firebase database. - onError(E) - Method in interface com.firebase.ui.common.BaseChangeEventListener
-
Callback when an error has been detected in the underlying listener.
P
- parseSnapshot(S) - Method in class com.firebase.ui.common.BaseCachingSnapshotParser
- parseSnapshot(S) - Method in interface com.firebase.ui.common.BaseSnapshotParser
-
This method parses the Snapshot into the requested type.
- Preconditions - Class in com.firebase.ui.common
-
Convenience class for checking argument conditions.
- Preconditions() - Constructor for class com.firebase.ui.common.Preconditions
R
- removeAllListeners() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Remove all listeners from the array and reset its state.
- removeChangeEventListener(L) - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
-
Remove a listener from the array.
- REMOVED - com.firebase.ui.common.ChangeEventType
-
An element was removed from the array.
S
- size() - Method in class com.firebase.ui.common.BaseObservableSnapshotArray
V
- valueOf(String) - Static method in enum com.firebase.ui.common.ChangeEventType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.firebase.ui.common.ChangeEventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages