@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(); }
@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")); }