-
public final class PollOptionListKt
-
-
Method Summary
Modifier and Type Method Description final static UnitPollOptionList(Modifier modifier, LazyListState lazyListState, String title, List<PollOptionItem> optionItems, Function1<List<PollOptionItem>, Unit> onQuestionsChanged, Dp itemHeightSize, PaddingValues itemInnerPadding)The Poll Creation option list that is a Composable that enables users to create and reorder question items easily. -
-
Method Detail
-
PollOptionList
final static Unit PollOptionList(Modifier modifier, LazyListState lazyListState, String title, List<PollOptionItem> optionItems, Function1<List<PollOptionItem>, Unit> onQuestionsChanged, Dp itemHeightSize, PaddingValues itemInnerPadding)
The Poll Creation option list that is a Composable that enables users to create and reorder question items easily.
- Parameters:
modifier- The Modifier for styling.lazyListState- State of the lazy list that represents the list of messages.title- The title of the question list.optionItems- The list of pre-questions.onQuestionsChanged- This lambda will be executed when the item of the question list is reordered.itemHeightSize- The height size of the question item.itemInnerPadding- The inner padding size of the question item.
-
-
-
-