Hey guys can anyone tell how can I increment this method by 3 value each time instead by one when clicked button? Thanks

Viewed 25
private fun incrementText(){
    binding.btnThreePoints.setOnClickListener {
        mViewModel.currentNumber.value = ++mViewModel.number
    }
0 Answers
Related