Package 

Class PollViewResultDialogKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit PollViewResultDialog(SelectedPoll selectedPoll, Function0<Unit> onDismissRequest, Function0<Unit> onBackPressed, User currentUser) A dialog that displays poll results for all options in a poll.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • PollViewResultDialog

        @Composable() final static Unit PollViewResultDialog(SelectedPoll selectedPoll, Function0<Unit> onDismissRequest, Function0<Unit> onBackPressed, User currentUser)

        A dialog that displays poll results for all options in a poll.

        Shows each poll option with its vote count, winner indicator (if applicable), and a preview of voters. Users can tap "Show All" on any option to navigate to PollOptionVotesDialog to see the complete list of votes for that option.

        Parameters:
        selectedPoll - The poll for which results are displayed, containing all poll state.
        onDismissRequest - Handler invoked when the dialog should be dismissed.
        onBackPressed - Handler invoked when the back button is pressed.
        currentUser - The current user, whose language selects the poll translations.