Package com.firebase.ui.firestore.paging
Class FirestorePagingOptions<T>
- java.lang.Object
-
- com.firebase.ui.firestore.paging.FirestorePagingOptions<T>
-
public final class FirestorePagingOptions<T> extends java.lang.ObjectOptions to configure anFirestorePagingAdapter. UseFirestorePagingOptions.Builderto create a new instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirestorePagingOptions.Builder<T>Builder forFirestorePagingOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description androidx.lifecycle.LiveData<androidx.paging.PagedList<com.google.firebase.firestore.DocumentSnapshot>>getData()androidx.recyclerview.widget.DiffUtil.ItemCallback<com.google.firebase.firestore.DocumentSnapshot>getDiffCallback()androidx.lifecycle.LifecycleOwnergetOwner()SnapshotParser<T>getParser()
-
-
-
Method Detail
-
getData
@NonNull public androidx.lifecycle.LiveData<androidx.paging.PagedList<com.google.firebase.firestore.DocumentSnapshot>> getData()
-
getParser
@NonNull public SnapshotParser<T> getParser()
-
getDiffCallback
@NonNull public androidx.recyclerview.widget.DiffUtil.ItemCallback<com.google.firebase.firestore.DocumentSnapshot> getDiffCallback()
-
getOwner
@Nullable public androidx.lifecycle.LifecycleOwner getOwner()
-
-