You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/widgets/compose/option-bottom-sheet/src/main/kotlin/io/github/edricchan03/optionbottomsheet/models/dsl/BottomSheetOptionDSL.kt
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,27 @@ class BottomSheetOptionGroupBuilder {
73
73
}
74
74
}
75
75
76
+
/**
77
+
* Adds the list of [items] to this option group.
78
+
*
79
+
* [itemInit] is used to determine how to add an item, see [item].
80
+
* @param items The list of items to be added.
81
+
* @param itemId Lambda used to map an item [T] to its ID form. Defaults to
82
+
* the index if not specified.
83
+
* @param itemInit Lambda used to create an item from [T].
0 commit comments