Widget Documentation: LMFeedUserView
Widget: LMFeedUserView
The LMFeedUserView is a customizable widget for displaying user information, including profile image, name, and title, with configurable styles.
| Method | Description |
|---|---|
| setStyle(userViewStyle: LMFeedUserViewStyle) | Applies the given style to the user view. |
| setUserImage(user: LMFeedUserViewData) | Sets the user's profile image. |
| setUserName(userName: String) | Sets the user's name. |
| setUserTitle(userTitle: String?) | Sets the user's title (optional). |
View Style: LMFeedUserViewStyle
The LMFeedUserViewStyle defines the appearance and layout properties for the LMFeedUserView, including configurations for the profile image, name, and title.
| Field | Description | Type |
|---|---|---|
| userImageViewStyle | Configures the style for the user's profile image. | LMFeedImageStyle |
| userNameViewStyle | Configures the text style for the user's name. | LMFeedTextStyle |
| userTitleViewStyle | Configures the text style for the user's title. | LMFeedTextStyle |