Post Media
Overview
LMPostMedia
is responsible for displaying media attachments such as images and videos within a post. It manages the layout, rendering, and interaction of the attached media, providing a rich multimedia experience for users.
Customisation
The LMFeedContextStyles
class allows you to customize the appearance of the LMPostContent
. You can set the styles in media
inside of postListStyle
in LMFeedContextStyles
.
Property | Type | Description |
---|---|---|
postMediaStyle | ViewStyle | Style for the post media container. |
image | LMImage | Configuration for displaying images. |
video | LMVideo | Configuration for displaying videos. |
carousel | LMCarousel | Configuration for media carousel. |
document | LMDocument | Configuration for displaying documents. |
linkPreview | LMLinkPreview | Configuration for displaying link previews. |
noPostView | ViewStyle | Style for the view when no post is available. |
noPostText | TextStyle | Style for the text when no post is available. |
listStyle | ViewStyle | Style for the list of media items. |