kite-testing / jp.co.cyberagent.kite.testing / TestKiteFragment / makeFactory
makeFactory¶
fun makeFactory(@LayoutRes contentLayoutId:
Int
, config:
TestKiteFragment.Config
): FragmentFactory
Creates a FragmentFactory that can instantiate this Fragment using FragmentScenario.
Parameters¶
contentLayoutId
- set the fragment content with this layout id.
config
- setup kite DSL with this config in onViewCreated.