Screen: LMFeedVideoFeedFragment
The LMFeedVideoFeedFragment
is a component responsible for managing and displaying video feeds in the LikeMinds feed. It handles the user interface and interactions associated with video content.
View Style: LMFeedVideoFeedFragmentViewStyle
The LMFeedVideoFeedFragmentViewStyle
defines the styling and layout options for the video feed fragment.
Customization available in LMFeedVideoFeedFragment
General Customizations
- customizeVideoFeedListView(vp2VideoFeed, videoFeedAdapter): Customize the video feed list view with a
ViewPager2
and a video feed adapterLMFeedVideoFeedAdapter
.
Interactions available in LMFeedVideoFeedFragment
Post Interactions
- onPostLikeClicked(position, postViewData): Triggered when a post is liked, with
position
andpostViewData
as inputs. - onPostContentSeeMoreClicked(position, postViewData): Triggered when "see more" is clicked for post content.
- onPostContentLinkClicked(url): Triggered when a URL link in post content is clicked.
- onPostVideoFeedCaughtUpClicked(): Triggered when the user catches up on video feed posts.
Post Actions
- onPostActionMenuClicked(position, postViewData): Triggered when the action menu for a post is clicked.
- onPostMenuItemClicked(postId, menuItem): Triggered when a menu item for a post is clicked.
Author and Tag Interactions
- onPostAuthorHeaderClicked(position, postViewData): Triggered when the author's header is clicked.
- onPostTaggedMemberClicked(position, uuid): Triggered when a tagged member in a post is clicked.
Post Menu Interactions
- onEditPostMenuClicked(position, menuId, post): Triggered when the "edit post" menu item is clicked.
- onDeletePostMenuClicked(position, menuId, post): Triggered when the "delete post" menu item is clicked.
- onReportPostMenuClicked(position, menuId, post): Triggered when the "report post" menu item is clicked.