PollViewResultDialog

fun PollViewResultDialog(selectedPoll: SelectedPoll, onDismissRequest: () -> Unit, onBackPressed: () -> Unit)

A dialog that should be shown if a user taps the seeing result of the votes.

Parameters

selectedPoll

The current poll that contains all the states.

onDismissRequest

Handler for dismissing the dialog.

onBackPressed

Handler for pressing a back button.