How do I create an ArrayList with integer and string input types? If I create one as:
ArrayList
List sections = new ArrayList
You can make it like :
List sections = new ArrayList ();
(Recommended) Another possible solution would be to make a custom model class with two parameters one Integer and other String. Then using an ArrayList of that object.