ArrayList<HashMap<String, Object>> list = new ArrayList<HashMap<String, Object>>();
// HasMap 的內容假設有 title, price, date
SimpleAdapter adapter = new SimpleAdapter(this, list, R.layout.custom, new String[]{"title", "price", "date"}, new int[]{R.id.title, R.id.price, R.id.date});