Package com.firebase.ui.database
Class FirebaseRecyclerOptions<T>
- java.lang.Object
-
- com.firebase.ui.database.FirebaseRecyclerOptions<T>
-
public final class FirebaseRecyclerOptions<T> extends Object
Options to configure aFirebaseRecyclerAdapter.- See Also:
FirebaseRecyclerOptions.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirebaseRecyclerOptions.Builder<T>Builder for aFirebaseRecyclerOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description androidx.lifecycle.LifecycleOwnergetOwner()Get the (optional) LifecycleOwner.ObservableSnapshotArray<T>getSnapshots()Get theObservableSnapshotArrayto listen to.
-
-
-
Method Detail
-
getSnapshots
@NonNull public ObservableSnapshotArray<T> getSnapshots()
Get theObservableSnapshotArrayto listen to.
-
getOwner
@Nullable public androidx.lifecycle.LifecycleOwner getOwner()
Get the (optional) LifecycleOwner. Listening will start/stop after the appropriate lifecycle events.
-
-