Class CachingSnapshotParser<T>

  • All Implemented Interfaces:
    com.firebase.ui.common.BaseSnapshotParser<com.google.firebase.firestore.DocumentSnapshot,​T>, SnapshotParser<T>

    public class CachingSnapshotParser<T>
    extends com.firebase.ui.common.BaseCachingSnapshotParser<com.google.firebase.firestore.DocumentSnapshot,​T>
    implements SnapshotParser<T>
    Implementation of BaseCachingSnapshotParser for DocumentSnapshot.
    • Constructor Summary

      Constructors 
      Constructor Description
      CachingSnapshotParser​(com.firebase.ui.common.BaseSnapshotParser<com.google.firebase.firestore.DocumentSnapshot,​T> parser)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId​(com.google.firebase.firestore.DocumentSnapshot snapshot)  
      • Methods inherited from class com.firebase.ui.common.BaseCachingSnapshotParser

        clear, invalidate, parseSnapshot
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.firebase.ui.common.BaseSnapshotParser

        parseSnapshot
    • Constructor Detail

      • CachingSnapshotParser

        public CachingSnapshotParser​(@NonNull
                                     com.firebase.ui.common.BaseSnapshotParser<com.google.firebase.firestore.DocumentSnapshot,​T> parser)
    • Method Detail

      • getId

        @NonNull
        public java.lang.String getId​(@NonNull
                                      com.google.firebase.firestore.DocumentSnapshot snapshot)
        Specified by:
        getId in class com.firebase.ui.common.BaseCachingSnapshotParser<com.google.firebase.firestore.DocumentSnapshot,​T>