Skip to main content

Widget Documentation: 'LMFeedPollOptionsListView'

Widget: 'LMFeedPollOptionsListView'

The LMFeedPollOptionsListView is a custom widget designed for displaying and managing a list of poll options in the LikeMinds feed. It supports customizable styling and interaction handling through an adapter.

MethodDescription
fun setAdapter(pollPosition: Int, optionStyle: LMFeedPostPollOptionViewStyle?, listener: LMFeedPollOptionsAdapterListener?)Sets the adapter for the poll options list, including position, style, and listener for user interactions.
fun replacePollOptions(pollOptions: List<LMFeedPollOptionViewData>)Replaces the current list of poll options with a new set of data.

View LMFeedPollOptionsListView on GitHub