I accidentally clicked on an option along the lines of “supress all warnings for unused binding adapters” from the quick action menu (ctrl/opt + enter). How do I undo that ?
o
Olenyov Kirill
05/27/2020, 1:25 PM
Have you checked in Preferences/Editor/Inspections?
e
Elyes
05/27/2020, 1:33 PM
Yep. It doesn’t appear when I filter by
show only modified inspections
and neither when I search for
binding
adapter
unused
key words.
Elyes
05/27/2020, 1:42 PM
I found it. The exact option text was
suppress unused warning if annotated by 'androidx.databinding.BindingAdapter'
.
I fixed it by going to Preferences/Editor/Inspections then Kotlin/Redundant Constructs/Unused Symbol, clicking on