-
- All Implemented Interfaces:
-
java.lang.Iterable,java.util.Collection,java.util.List,java.util.SequencedCollection
public abstract class ObservableSnapshotArray<T> extends BaseObservableSnapshotArray<DataSnapshot, DatabaseError, ChangeEventListener, T>
Exposes a collection of items in Firebase as a List of DataSnapshot. To observe the list attach a com.google.firebase.database.ChildEventListener.
-
-
Constructor Summary
Constructors Constructor Description ObservableSnapshotArray(SnapshotParser<T> parser)Create an ObservableSnapshotArray with a custom SnapshotParser.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class com.firebase.ui.common.BaseObservableSnapshotArray
addChangeEventListener, clear, get, getSnapshot, isListening, removeAllListeners, removeChangeEventListener, size -
Methods inherited from class java.util.AbstractList
add, add, addAll, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, remove, set, subList -
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString -
Methods inherited from class java.util.Collection
parallelStream, removeIf, spliterator, stream -
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator -
Methods inherited from class java.util.List
addFirst, addLast, copyOf, getFirst, getLast, of, removeFirst, removeLast, replaceAll, reversed, sort -
Methods inherited from class java.util.SequencedCollection
reversed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ObservableSnapshotArray
ObservableSnapshotArray(SnapshotParser<T> parser)
Create an ObservableSnapshotArray with a custom SnapshotParser.- Parameters:
parser- the SnapshotParser to use
-
-
-
-