Package 

Class PollCreationDiscardDialogKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit PollCreationDiscardDialog(Boolean usePlatformDefaultWidth, Function0<Unit> onCancelClicked, Function0<Unit> onDiscardClicked) A dialog to ask if a user wants to discard the current poll creation information.
      • Methods inherited from class java.lang.Object

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

      • PollCreationDiscardDialog

        @Composable() final static Unit PollCreationDiscardDialog(Boolean usePlatformDefaultWidth, Function0<Unit> onCancelClicked, Function0<Unit> onDiscardClicked)

        A dialog to ask if a user wants to discard the current poll creation information.

        Parameters:
        onCancelClicked - A lambda will be invoked when a user clicks on the cancel button.
        onDiscardClicked - A lambda will be invoked when a user clicks on the discard button.