How to properly add data to ArrayList - Android
问题 I have a class the extends arrayAdapter. I am trying to add variables to the list but I am not sure exactly how to do so. Here is my current ArrayAdapter class. class Item { String username; String number; String content; } class ListAdapter extends ArrayAdapter<Item> { public ListAdapter(Context context, int textViewResourceId) { super(context, textViewResourceId); // TODO Auto-generated constructor stub } private List<Item> items; public ListAdapter(Context context, int resource, List<Item>