Simply use long on your right side if (drawerItem.identifier == 1L) Edit: the reason this is required is that Kotlin does not promote Ints to Longs (or, ...
確定! 回上一頁