Package-level declarations
Types
Link copied to clipboard
Represent the bottom sheet dialog that allows users to pick attachments.
Link copied to clipboard
ViewModel class for creating a poll. It handles the creation of the poll and its configuration.
Link copied to clipboard
class OptionsAdapter(optionTextLimit: Int?, onOptionChange: (id: Int, text: String) -> Unit) : ListAdapter<PollAnswer, OptionsAdapter.OptionViewHolder>
Link copied to clipboard
Link copied to clipboard
Configuration for individual poll entry feature.
Link copied to clipboard
data class PollsConfig(val multipleVotes: PollFeatureConfig = PollFeatureConfig.Default, val anonymousPoll: PollFeatureConfig = PollFeatureConfig.Default, val suggestAnOption: PollFeatureConfig = PollFeatureConfig.Default, val allowComments: PollFeatureConfig = PollFeatureConfig.Default, val questionTextLimit: Int? = null, val optionTextLimit: Int? = null) : Parcelable
The configuration for the various poll features. It determines if the user can or cannot enable certain poll features.