setVisible(visible: Boolean) { this.visibility = if (visible) View.VISIBLE else View.GONE } 複製程式碼. Kotlin 編寫的話,不需要多餘的類,也 ...
確定! 回上一頁