Ayden
01/19/2018, 4:58 PMif (!existCell.isEmpty()) {
if (existCell[existCell.size - 1] == 1) {
cell = 9
}
if (existCell[existCell.size - 1] == 3) {
cell = 7
}
if (existCell[existCell.size - 1] == 7) {
cell = 3
}
if (existCell[existCell.size - 1] == 9) {
cell = 1
}
}
If there a way to improve this in code in Kotlin?