Skip to main content

Widget Documentation: LMFeedNoEntityLayoutView

Widget: LMFeedNoEntityLayoutView

The LMFeedNoEntityLayoutView is a customizable layout designed to display a message or action when no entities are available, with support for a title, subtitle, image, and a floating action button (FAB).

MethodDescription
setTitleText(title: String)Sets the title text for the layout.
setSubtitleText(subtitle: String)Sets the subtitle text for the layout.
setActionCTAText(ctaAction: String)Sets the text for the action call-to-action (CTA).
setActionFABColor(@ColorRes fabColor: Int)Sets the color for the floating action button (FAB).
setActionFABClickListener(listener: LMFeedOnClickListener)Registers a click listener for the FAB.
setStyle(noEntityLayoutViewStyle: LMFeedNoEntityLayoutViewStyle)Applies the given style to the no-entity layout view.

View the code on GitHub

View Style: LMFeedNoEntityLayoutViewStyle

The LMFeedNoEntityLayoutViewStyle defines the appearance and layout properties for the LMFeedNoEntityLayoutView, including configurations for text, images, and the floating action button.

FieldDescriptionType
imageStyleConfigures the style for the image.LMFeedImageStyle
titleStyleConfigures the text style for the title.LMFeedTextStyle
subtitleStyleConfigures the text style for the subtitle.LMFeedTextStyle
actionStyleConfigures the style for the floating action button.LMFeedFABStyle
backgroundColorSpecifies the background color of the layout view.Int

View the code on GitHub