How can I get the text of editText?
Im trying to make a random interger with hashcode of a particular String and I have to get the String from the editText. Below is a code I tried.
findViewById(R.id.goButton).setOnClickListener{
val intent = Intent(this, Activity2::class.java)
intent.putIntegerArrayListExtra("result",
ArrayList(getNumbersFromHash(editText.getText().toString())))
startActivity(intent)
}
A List made of random integers are tossed to Activity2. The point is I have to get the text...