onResume

open override fun onResume()

Set FragmentStatus in sharedViewModel and announce RegisterFragment to screen readers when it is resumed and prefill edit text fields.

Changing the fragment status is necessary to display content in help section that is adapted to RegisterFragment. Announcing RegisterFragment when it is resumed increases the accessibility of the application. Prefill edit text fields if there are already corresponding values stored in userViewModel.