provideFragmentContent

fun provideFragmentContent(fragment: Fragment, strategy: ViewCompositionStrategy = ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed): View

Provides view for a Fragment. Should be used in onCreateView.onCreateView{}.

Return

View

Parameters

fragment

Fragment in which PaymentFormScreen will be used.

strategy

ViewCompositionStrategy strategy for managing disposal of this View's internal composition. Defaults to ViewCompositionStrategy.Default.