Skip to main content

Widget Documentation: LMFeedImageView

Widget: LMFeedImageView

The LMFeedImageView is a custom ImageView component that supports dynamic image loading, circular shapes, grayscale rendering, and corner radius adjustments.

MethodDescription
setImage(imageSrc: Any?, imageViewStyle: LMFeedImageStyle)Sets the image source and applies the specified style.

View the code on GitHub

View Style: LMFeedImageStyle

The LMFeedImageStyle defines the appearance and layout properties for the LMFeedImageView, including options for circular images, grayscale rendering, and corner radius adjustments.

FieldDescriptionType
imageSrcSpecifies the source of the image.Any
placeholderSrcDefines the source for the placeholder image.Any
isCircleIndicates whether the image should be circular.Boolean
showGreyScaleDetermines whether the image is displayed in grayscale.Boolean
cornerRadiusSpecifies the corner radius for the image.Int
imageTintSets the tint color for the image.Int
alphaControls the transparency of the image.Float
scaleTypeSpecifies how the image should be scaled to fit the view.ScaleType

View the code on GitHub