How can I change textview text with list index?
I have two activities. Im going to toss a ArrayList that has random integer numbers which is made in activity1 to another activity, named ResultActivity, by intent. Then I want to change the text of textviews of ResultActivity using the index of the list which is tossed. below is a code of ResultActivity I tried.
class ResultActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_result)...