Package com.firebase.ui.database
Class FirebaseListOptions<T>
- java.lang.Object
-
- com.firebase.ui.database.FirebaseListOptions<T>
-
public final class FirebaseListOptions<T> extends Object
Options to configure aFirebaseListAdapter.- See Also:
FirebaseListOptions.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirebaseListOptions.Builder<T>Builder forFirebaseListOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLayout()Get the resource ID of the layout file for a list item.androidx.lifecycle.LifecycleOwnergetOwner()Get the (optional)LifecycleOwner.ObservableSnapshotArray<T>getSnapshots()Get theObservableSnapshotArrayto observe.
-
-
-
Method Detail
-
getSnapshots
@NonNull public ObservableSnapshotArray<T> getSnapshots()
Get theObservableSnapshotArrayto observe.
-
getLayout
@LayoutRes public int getLayout()
Get the resource ID of the layout file for a list item.
-
getOwner
@Nullable public androidx.lifecycle.LifecycleOwner getOwner()
Get the (optional)LifecycleOwner.
-
-