onViewCreated

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

This method gives subclasses a chance to initialize themselves once they know their view hierarchy has been completely created. This method is called immediately after onCreateView(LayoutInflater, ViewGroup, Bundle) has returned.

Parameters

view

: The View returned by onCreateView(LayoutInflater, ViewGroup, Bundle).

savedInstanceState

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