Package com.firebase.ui.database.paging
Class DatabasePagingOptions<T>
- java.lang.Object
-
- com.firebase.ui.database.paging.DatabasePagingOptions<T>
-
public final class DatabasePagingOptions<T> extends Object
Options to configure anFirebaseRecyclerPagingAdapter. UseDatabasePagingOptions.Builderto create a new instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatabasePagingOptions.Builder<T>Builder forDatabasePagingOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description androidx.lifecycle.LiveData<androidx.paging.PagingData<com.google.firebase.database.DataSnapshot>>getData()androidx.recyclerview.widget.DiffUtil.ItemCallback<com.google.firebase.database.DataSnapshot>getDiffCallback()androidx.lifecycle.LifecycleOwnergetOwner()SnapshotParser<T>getParser()
-
-
-
Method Detail
-
getData
@NonNull public androidx.lifecycle.LiveData<androidx.paging.PagingData<com.google.firebase.database.DataSnapshot>> getData()
-
getParser
@NonNull public SnapshotParser<T> getParser()
-
getDiffCallback
@NonNull public androidx.recyclerview.widget.DiffUtil.ItemCallback<com.google.firebase.database.DataSnapshot> getDiffCallback()
-
getOwner
@Nullable public androidx.lifecycle.LifecycleOwner getOwner()
-
-