Skip to main content

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.

MethodDescription
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 the code on GitHub

View Style: LMFeedChipGroupStyle

The LMFeedChipGroupStyle defines the appearance and layout properties for the LMFeedChipGroup, enabling customization for spacing and orientation.

FieldDescriptionType
isSingleLineIndicates whether the chip group is displayed in a single line.Boolean
chipGroupHorizontalSpacingSpecifies the horizontal spacing between chips.Int
chipGroupVerticalSpacingSpecifies the vertical spacing between chips.Int

View the code on GitHub