My source code is as follows:
There are warnings : Property '****' is never used.
I added "@Suppress("UNUSED_PARAMETER")", "@Suppress("UNUSED_PROPERTY_GETTER")", "@Suppress("UNUSED_PROPERTY_SETTER")",
however, none of them work.
How can I suppress this warning?
Use @Suppress("unused")
in order to suppress unused warning.
For those cases you can use the IDE. press alt+enter
:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With