onCreate

open fun onCreate(@Nullable savedInstanceState: Bundle)

Called when the fragment is created. Initializes the dialog click listener that handles positive (OK) and negative (Cancel) button clicks.

Parameters

savedInstanceState

If the fragment is being re-created from a previous saved state, this is the state.