onViewCreated

open override fun onViewCreated(view: View, savedInstanceState: Bundle?)

Call super.onViewCreated() and activate data binding.

Use this Fragment subclass as lifecycleOwner for data binding and assign the other variables to use them in fragment_user_data.xml. You can find these variables declared in the section of fragment_user_data.xml.