When I use ListView to display a array of my object, I can use the following code:
MyObject[] myObject;
...
ArrayAdapter<MyObject> itemList = new ArrayAdapter<MyObject>(this, R.layout.list, myObject);
setListAdapter(itemList);
In case that the input is a list:
List<MyObject> myobject;
How can I assign it to ListAdapter? Please advise, Thx!