Kotlin changing 2 scores when i press a button
I hava two score and one button. I want to increase first score and 5 second later increase second score same button. There is code countdown timer
tt = object : CountDownTimer(5000,1000){
override fun onTick(p0: Long) {
binding.time.text = (p0/1000).toString()
}
override fun onFinish() {
val dialogView = LayoutInflater.from(context).inflate(R.layout.dialogcard,null)
val alert = AlertDialog.Builder(context)...