public View getView(int position, View convertView, ViewGroup parent) {
Person person = persons.get(position);
View view = View.inflate(MainActivity.this, R.layout.list_item, null);
//一定要在view对象中找孩子的id
TextView tv_id = (TextView)view.findViewById(R.id.tv_id);
tv_id.setText("id:" + person.getId());
填充布局文件