onCreateView

open override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View

Creates and returns the view hierarchy associated with the fragment. This method inflates a ComposeView and sets the content to the PageContent composable function.

Return

The ComposeView with the content set to the PageContent composable function.

Parameters

inflater

The LayoutInflater object that can be used to inflate any views in the fragment.

container

If non-null, this is the parent view that the fragment's UI should be attached to.

savedInstanceState

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