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.
Method | Description |
---|---|
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 Style: LMFeedPostMultipleMediaViewStyle
The LMFeedPostMultipleMediaViewStyle
defines the appearance and layout properties for the LMFeedPostMultipleMediaView
, including configurations for indicators.
Field | Description | Type |
---|---|---|
indicatorActiveColor | Specifies the active color for the indicator. | Int |
indicatorInActiveColor | Specifies the inactive color for the indicator. | Int |
indicatorActiveWidth | Specifies the active width for the indicator. | Int |
indicatorStyle | Specifies the style of the indicator. | Int |
indicatorInactiveWidth | Specifies the inactive width for the indicator. | Int |
indicatorHeight | Specifies the height of the indicator. | Int |
indicatorSpacing | Specifies the spacing between indicators. | Int |
indicatorSlideMode | Specifies the slide mode for the indicators. | Int |