Post Media
The PostMediaView
is customizable and modular UI component that visually represents a media view of a post in the feed. This is used to show images, video, documents etc.
Media View Structure
The Media View is divided into various sub views to show different type of media.
1.Image View
- Used to show a single image.
2. Video View
- Used to show a single video.
3. Document View
- Used to show document attached in a post.
4. Link View
- Used to show a link view with the OGTags of the link.
5. Multimedia View
- Used to show multiple images/videos.
6. Reel View
- Used to show a single reels view.
View Style: LMFeedPostMediaViewStyle
The LMFeedPostMediaViewStyle
defines the appearance and layout properties all the media attached to a post.
Field | Description | Type |
---|---|---|
postImageMediaStyle | Style for image view | LMFeedPostImageMediaViewStyle |
postVideoMediaStyle | Style for video view | LMFeedPostVideoMediaViewStyle |
postLinkViewStyle | Style for link view | LMFeedPostLinkMediaViewStyle |
postDocumentsMediaStyle | Style for document view | LMFeedPostDocumentsMediaViewStyle |
postMultipleMediaStyle | Style for multiple images/video view | LMFeedPostMultipleMediaViewStyle |
postVerticalVideoMediaStyle | Style for reel view | LMFeedPostVideoMediaViewStyle |