LayoutContentListItemViewFactory
class LayoutContentListItemViewFactory(@LayoutRes layoutRes: Int) : ContentListItemViewFactory
Content copied to clipboard
Creates a TtInformationControl by inflating the provided layoutRes. layoutRes must be inflatable using DataBindingUtil.
Throws
android.content.res.Resources.NotFoundException
if the given layout cannot be found during create.
when the view has a different type of layout than TtInformationControl
Constructors
Functions
Link copied to clipboard
Creates an information control within the given parent.