Skip to content Skip to sidebar Skip to footer

Runtimeexception: View Tag Isn't Correct On View:null On Viewagendaitembinding.bind() Method

I have pretty simple code which should be working according several articles regarding DataBinding but for some reason it's not. I'm trying to use RecycleView together with Databin

Solution 1:

Data binding re-writes your layouts files during compilation so it will add that tag automatically.

DataBindingUtils.bind checks if there is an existing binding on the view and re-uses it. Looks like somewhere else you've initialized data binding on that View. I think we should change ViewAgendaItemBinding.bind method to do the same as well.

Post a Comment for "Runtimeexception: View Tag Isn't Correct On View:null On Viewagendaitembinding.bind() Method"