Package com.firebase.ui.firestore
Class ClassSnapshotParser<T>
- java.lang.Object
-
- com.firebase.ui.firestore.ClassSnapshotParser<T>
-
- All Implemented Interfaces:
com.firebase.ui.common.BaseSnapshotParser<com.google.firebase.firestore.DocumentSnapshot,T>,SnapshotParser<T>
public class ClassSnapshotParser<T> extends java.lang.Object implements SnapshotParser<T>
An implementation ofSnapshotParserthat convertsDocumentSnapshotto a class usingDocumentSnapshot.toObject(Class).
-
-
Constructor Summary
Constructors Constructor Description ClassSnapshotParser(java.lang.Class<T> modelClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TparseSnapshot(com.google.firebase.firestore.DocumentSnapshot snapshot)
-
-
-
Constructor Detail
-
ClassSnapshotParser
public ClassSnapshotParser(@NonNull java.lang.Class<T> modelClass)
-
-