Join Slack
Powered by
When using the new viewbinding, how can I create a...
# android
v
voben
02/18/2020, 8:33 PM
When using the new viewbinding, how can I create a ViewBinding for the root view similar to how databinding does it below?
Copy code
val viewDataBinding: T = DataBindingUtil.bind(itemView)
j
jw
02/18/2020, 8:34 PM
You can call
TheBinding.bind(itemView)
3
Views
Open in Slack
Previous
Next