https://kotlinlang.org logo
Title
e

Elyes

05/27/2020, 12:41 PM
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.
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
Annotations
and removing
androidx.databinding.BindingAdapter
from the list.