Bind

class Bind<T : ViewBinding>(val fn: (View) -> T) : BaseFragment.BindingCreator<T> (source)

Use bind() on an existing root view to create the binding. This should be used if you are differing per device layouts, such as different layouts for TV and Phone.

Parameters

fn

Lambda that binds the root view.

Constructors

Link copied to clipboard
constructor(fn: (View) -> T)

Properties

Link copied to clipboard
val fn: (View) -> T