app / com.ocean.ishareeconomy_android.lending / LendingDetailFragment / onCreateView

onCreateView

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

Called to have the fragment instantiate its user interface view an all the binding configuration

If you return a View from here, you will later be called in onDestroyView when the view is being released.

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. The fragment should not add the view itself, but this can be used to generate the LayoutParams of the view.

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

Return
Return the View for the fragment's UI.