class NumberPickerBottomSheetDialogFragment : BottomSheetDialogFragment
Modal dialog for selecting a numerical value. Use newInstance to configure display settings and call setOnSelectionListener to receive the selected value.
Data |
data class Data : Serializable |
<init> |
Modal dialog for selecting a numerical value. Use newInstance to configure display settings and call setOnSelectionListener to receive the selected value. NumberPickerBottomSheetDialogFragment() |
onCreateDialog |
fun onCreateDialog(savedInstanceState: Bundle?): Dialog |
onCreateView |
fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? |
onDismiss |
fun onDismiss(dialog: DialogInterface): Unit |
setOnSelectionListener |
Configures a listener to receive a callback when a value has been selected. This will not be invoked if the user closes the dialog without selecting a value. fun setOnSelectionListener(listener: OnSelectionListener): Unit |
newInstance |
fun newInstance(data: Data): NumberPickerBottomSheetDialogFragment |