Widget Documentation: LMFeedPostImageMediaView
Widget: LMFeedPostImageMediaView
The LMFeedPostImageMediaView is a customizable view for displaying an image, supporting actions like styling, setting the image source, and adding a remove icon with configurable click listeners.
| Method | Description |
|---|---|
| setStyle(lmFeedPostImageMediaViewStyle: LMFeedPostImageMediaViewStyle) | Applies the given style to the image media view. |
| setImage(imageSrc: Any, postImageMediaViewStyle: LMFeedPostImageMediaViewStyle) | Sets the image source and applies the style. |
| setRemoveIconClickListener(listener: LMFeedOnClickListener) | Registers a click listener for the remove icon. |
View Style: LMFeedPostImageMediaViewStyle
The LMFeedPostImageMediaViewStyle defines the appearance and layout properties for the LMFeedPostImageMediaView, including configurations for the image and remove icon.
| Field | Description | Type |
|---|---|---|
| imageStyle | Configures the style for the image. | LMFeedImageStyle |
| removeIconStyle | Configures the style for the remove icon. | LMFeedIconStyle |