0

How do I call back on a array

I have a ArrayList set up already now I am using intellij basically what I have done is created a string in a listview i. E ArrayList menu <String> Menu. Add. ('' 1'') On the listview this is displayed with a onclicklistener when this item is clicked it needs to put data from arraylist to a next activity with additional information about the item clicked I know I can do it by putting in a activity for each list item but that would take much to long. Instead I want to have like a multidimensional ArrayList with the first list being activity 1 and additional information on a Second activity as soon as that specific String is clicked. Please any help would be greatly appreciated https://code.sololearn.com/c7k9157EdDP4/?ref=app https://code.sololearn.com/c7k9157EdDP4/?ref=app

9th Jan 2020, 7:10 PM
d- unit
d- unit - avatar
1 ответ