Wanting to use databinding for setting the videoId and the following error occurs:
[kapt] An exception occurred: android.databinding.tool.util.LoggedErrorException: Found data binding errors.
/ data binding error msg:Cannot find the setter for attribute 'app:videoId' with parameter type java.lang.String on com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView. file:/Users/usuario/Android/guardsavvy_android/app/src/main/res/layout/item_wellness_content.xml loc:33:27 - 33:45 \ data binding error
Seems you need add a setter so the build can use it for databinding. There are other ways so that's not crucial but it would be good to have.
Wanting to use databinding for setting the videoId and the following error occurs:
[kapt] An exception occurred: android.databinding.tool.util.LoggedErrorException: Found data binding errors. / data binding error msg:Cannot find the setter for attribute 'app:videoId' with parameter type java.lang.String on com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView. file:/Users/usuario/Android/guardsavvy_android/app/src/main/res/layout/item_wellness_content.xml loc:33:27 - 33:45 \ data binding error
Seems you need add a setter so the build can use it for databinding. There are other ways so that's not crucial but it would be good to have.