Skip to main content

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.
  • 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.

FieldDescriptionType
postImageMediaStyleStyle for image viewLMFeedPostImageMediaViewStyle
postVideoMediaStyleStyle for video viewLMFeedPostVideoMediaViewStyle
postLinkViewStyleStyle for link viewLMFeedPostLinkMediaViewStyle
postDocumentsMediaStyleStyle for document viewLMFeedPostDocumentsMediaViewStyle
postMultipleMediaStyleStyle for multiple images/video viewLMFeedPostMultipleMediaViewStyle
postVerticalVideoMediaStyleStyle for reel viewLMFeedPostVideoMediaViewStyle