Skip to content Skip to sidebar Skip to footer

Can't Get Root View From Data Binding After Enabling Safe-args Plugin

I'm working on an Android app using dataBinding and am currently trying to add the safe-args plugin, but after enabling the plugin, I can no longer get the root view via binding.ro

Solution 1:

I have the same issue and at last I tried

File -> Invalid Caches/Restart

It works for me.

Solution 2:

Solution 3:

I have the similar issue but only in included layout, perform these operations work for me

Build -> Clean Project
Build -> Rebuild Project

Post a Comment for "Can't Get Root View From Data Binding After Enabling Safe-args Plugin"