Screen: LMFeedEditPostFragment
LMFeedEditPostFragment
provides an interface for editing existing posts in the LikeMinds feed system. It supports modifying text, images, videos, documents, and polls within a post.
GitHub Link to LMFeedEditPostFragment
View Style: LMFeedEditPostFragmentViewStyle
LMFeedEditPostFragmentViewStyle
defines the visual style and structure of the LMFeedEditPostFragment. The following fields are available for customization:
Field Name | Description | Type |
---|---|---|
headerViewStyle | Style for the header of the edit post screen. | LMFeedHeaderViewStyle |
postHeaderViewStyle | Style for the post header view. | LMFeedPostHeaderViewStyle |
postComposerStyle | Style for the main post composer. | LMFeedEditTextStyle |
postHeadingComposerStyle | Style for the heading composer in posts. | LMFeedEditTextStyle |
postHeadingLimitTextStyle | Style for the heading character limit display. | LMFeedTextStyle |
progressBarStyle | Style for the progress bar used during edits. | LMFeedProgressBarStyle |
selectTopicsChipStyle | Style for the topic selection chip. | LMFeedChipStyle |
editTopicsChipStyle | Style for the edit topics chip. | LMFeedChipStyle |
disabledTopicsAlertDialogStyle | Style for the alert dialog when topics are disabled. | LMFeedAlertDialogViewStyle |
GitHub Link to LMFeedEditPostFragmentViewStyle
Customization available in LMFeedEditPostFragment
Header Customizations
- customizeEditPostHeaderView(headerViewEditPost: LMFeedHeaderView): Allows customization of the edit post header.
Post Content Customizations
- customizePostHeaderView(postHeader: LMFeedPostHeaderView): Customizes the post header.
- customizePostComposer(etPostComposer: LMFeedEditText): Customizes the post composer for text content.
- customizePostHeadingComposer(etPostHeadingComposer: LMFeedEditText): Customizes the heading composer in the post.
- customizePostHeadingLimit(tvPostHeadingLimitTextView: LMFeedTextView): Customizes the character limit display for the heading.
Attachments Customizations
- customizePostImageAttachment(postSingleImageView: LMFeedPostImageMediaView): Customizes the image attachment section.
- customizePostVideoAttachment(postSingleVideoView: LMFeedPostVideoMediaView): Customizes the video attachment section.
- customizePostLinkViewAttachment(linkMediaView: LMFeedPostLinkMediaView): Customizes the link view attachment section.
- customizePostDocumentsAttachment(postDocumentsView: LMFeedPostDocumentsMediaView): Customizes the document attachment section.
- customizePostMultipleMedia(postMultipleMediaView: LMFeedPostMultipleMediaView): Customizes the display of multiple media attachments.
- customizePostPollAttachmentView(pollView: LMFeedPostPollView): Customizes the poll attachment section.
Progress Bar Customization
- customizeEditPostProgressbar(progressBar: LMFeedProgressBar): Customizes the progress bar shown during post edits.
Interactions available in LMFeedEditPostFragment
Post Actions
- onSavePostClicked(): Handles the save action for the edited post.
Media and Document Interactions
- onPostDocumentMediaClicked(position: Int, parentPosition: Int, attachmentViewData: LMFeedAttachmentViewData): Handles clicks on document or media attachments within the post.