Hey Im trying to put an Argument in another Argument. I mean that i have to functions and they take arguments.
- function
fun playTone(tone: Int)
mp = MediaPlayer.create(this, tone)
mp.start() - function
fun InstToMusic (Inst: Int)
playTone(tone = R.raw.$Instc2 )
The first argument is working.
But this 2. function is of course not working. But does anyone know how to fix it?