Kotlin: Suppress unused Property?

后端 未结 1 1795
粉色の甜心
粉色の甜心 2021-02-12 11:24

My source code is as follows:

There are warnings : Property \'****\' is never used.

I added \"@Suppress(\"UNUSED_PARAMETER\")\", \"@Suppress(\"UNUSED_PROPERTY_G

相关标签:
1条回答
  • 2021-02-12 12:19

    Use @Suppress("unused") in order to suppress unused warning.

    For those cases you can use the IDE. press alt+enter:

    0 讨论(0)
提交回复
热议问题