0
Help with Kotlin
Hello, so I made this app is really basic It is about converting k/h to M/s and M/S to K/h My question is what do I have wrong, it says unfortunately your app stop working THis is the main activity https://code.sololearn.com/WUngHn2WqcwJ/?ref=app https://code.sololearn.com/cQzFY8BjHpIV/?ref=app
2 Answers
+ 1
Thread.sleep(1000) is affecting your code b/c every code must go after super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
0
Does it stops working if u change orientation or on some specific input...
Well this may be happening because of some error in code which emulator couldn't solve... See terminal while running you app