Skip to main content

Widget Documentation: LMFeedPostMultipleMediaView

Widget: LMFeedPostMultipleMediaView

The LMFeedPostMultipleMediaView is a customizable view for displaying multiple media items, such as images or videos, with support for indicators and media management.

MethodDescription
setStyle(postMultipleMediaStyle: LMFeedPostMultipleMediaViewStyle)Applies the given style to the multiple media view.
setViewPager(mediaData: List, mediaClickListener: LMFeedOnClickListener)Sets up the view pager with media data and a click listener.
removeMedia(position: Int)Removes media from the view at the specified position.

View the code on GitHub

View Style: LMFeedPostMultipleMediaViewStyle

The LMFeedPostMultipleMediaViewStyle defines the appearance and layout properties for the LMFeedPostMultipleMediaView, including configurations for indicators.

FieldDescriptionType
indicatorActiveColorSpecifies the active color for the indicator.Int
indicatorInActiveColorSpecifies the inactive color for the indicator.Int
indicatorActiveWidthSpecifies the active width for the indicator.Int
indicatorStyleSpecifies the style of the indicator.Int
indicatorInactiveWidthSpecifies the inactive width for the indicator.Int
indicatorHeightSpecifies the height of the indicator.Int
indicatorSpacingSpecifies the spacing between indicators.Int
indicatorSlideModeSpecifies the slide mode for the indicators.Int

View the code on GitHub