Widget Documentation: LMFeedChipGroup
Widget: LMFeedChipGroup
The LMFeedChipGroup
is a custom UI component designed to manage and display a group of chips in a structured layout, providing features like single-line mode and customizable spacing.
Method | Description |
---|---|
removeAllChips() | Clears all the chips currently present in the group. |
addChip(chipText: String? = null, chipStyle: LMFeedChipStyle, chipClickListener: LMFeedOnClickListener? = null) | Adds a new chip to the group with optional text, style, and a click listener. |
View Style: LMFeedChipGroupStyle
The LMFeedChipGroupStyle
defines the appearance and layout properties for the LMFeedChipGroup
, enabling customization for spacing and orientation.
Field | Description | Type |
---|---|---|
isSingleLine | Indicates whether the chip group is displayed in a single line. | Boolean |
chipGroupHorizontalSpacing | Specifies the horizontal spacing between chips. | Int |
chipGroupVerticalSpacing | Specifies the vertical spacing between chips. | Int |