<Progress bar - value from other screen> Hi. I hav...
# forum
r
Progress bar - value from other screen Hi. I have an app with 2 screens. I dont have problem with send values from one screen/activity to other, but when i want to use that data to set progress bar app just crash without errors. On screen2 i have button, when onClick change to screen1 and set progress bar to ex: 2 (max 6) Screen1: val message = intent.getStringExtra("text_to_send") val textView = findViewById(R.id.progressBar).apply { progress = message!!.toInt() } // that code with...