Class FirestoreDataSource.Factory

  • Enclosing class:
    FirestoreDataSource

    public static class FirestoreDataSource.Factory
    extends androidx.paging.DataSource.Factory<PageKey,​com.google.firebase.firestore.DocumentSnapshot>
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(com.google.firebase.firestore.Query query, com.google.firebase.firestore.Source source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      androidx.paging.DataSource<PageKey,​com.google.firebase.firestore.DocumentSnapshot> create()  
      • Methods inherited from class androidx.paging.DataSource.Factory

        map, mapByPage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Factory

        public Factory​(@NonNull
                       com.google.firebase.firestore.Query query,
                       @NonNull
                       com.google.firebase.firestore.Source source)
    • Method Detail

      • create

        @NonNull
        public androidx.paging.DataSource<PageKey,​com.google.firebase.firestore.DocumentSnapshot> create()
        Specified by:
        create in class androidx.paging.DataSource.Factory<PageKey,​com.google.firebase.firestore.DocumentSnapshot>