onViewCreated

open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)

Called immediately after the dialog view has been created. This is a lifecycle callback for subclasses that need to perform additional initialization after view creation.

Parameters

view

The View returned by onCreateDialog.

savedInstanceState

If non-null, this fragment is being re-constructed from a previous saved state.