Accidental override: The following declarations have the same JVM signature (getWindow()Landroid/vie
在Activity下声明Window,居然提示:Accidental override: The following declarations have the same JVM signature (getWindow()Landroid/view/Window;):解释:说的是超类中已经声明了这个window,所以只要将window这个对象名重命名即可改为:var mWindow: Windo
·
在Activity下声明Window,居然提示:
Accidental override: The following declarations have the same JVM signature (getWindow()Landroid/view/Window;):
解释:说的是超类中已经声明了这个window,所以只要将window这个对象名重命名即可
改为:
var mWindow: Window? = null
更多推荐
已为社区贡献49条内容
所有评论(0)