setBackgroundResource

open fun setBackgroundResource(@NonNull() fragment: Fragment, @DrawableRes() resId: Int)

Set background resource for fragment.

Parameters

fragment

The fragment.

resId

The resource id.