How could the text written in editText modify the progressbar in Kotlin in Android Studio?
I'm trying to make the progressbar interactive with the editText. When the number written in EditText is greater than 10 the progressbar increases by 10%.
The code I wrote doesn't work of course but I don't see how to do it:
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.first_gamble)
val progressbar = findViewById(R.id.progressBar)
val converter =...