示例#1
0
 @Override
 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
   // TODO Auto-generated method stub
   FactoryItem item = getFactoryGroup().getItem(position);
   item.setResult(!item.getResult());
   listAdapter.notifyDataSetChanged();
 }
示例#2
0
 @Override
 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
   // TODO Auto-generated method stub
   FactoryItem item = getFactoryGroup().getItem(position);
   videoInspect.setVideoSource(item.getProperty("source"));
 }