OptionsAdapter
class OptionsAdapter(onOptionChange: (id: Int, text: String) -> Unit) : ListAdapter<PollAnswer, OptionsAdapter.OptionViewHolder>
Types
Link copied to clipboard
class OptionViewHolder(parent: ViewGroup, binding: <Error class: unknown class> = StreamUiPollOptionBinding.inflate(
parent.streamThemeInflater,
parent,
false,
), onOptionChange: (id: Int, text: String) -> Unit) : RecyclerView.ViewHolder
Functions
Link copied to clipboard
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): OptionsAdapter.OptionViewHolder
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun findRelativeAdapterPositionIn(@NonNull p0: RecyclerView.Adapter<out RecyclerView.ViewHolder>, @NonNull p1: RecyclerView.ViewHolder, p2: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onBindViewHolder(@NonNull p0: OptionsAdapter.OptionViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
Link copied to clipboard
open fun onCurrentListChanged(@NonNull p0: MutableList<PollAnswer>, @NonNull p1: MutableList<PollAnswer>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard