I am doing a listView with MatrixCursor but I can get data about item clicked. See this code:
String[] columnDB = new String[] {"cant", "image"};
final MatrixCursor cursor = new MatrixCursor(columnDB);
cursor.addRow(new Object[] {"0","my image"});
final SimpleCursorAdapter adapter = new SimpleCUrsorAdapter(this,R.layout.item_registro,cursor,desdeEstasColumnas, aEstasVistas, 0);
list.setOnItemClickListerner(new AdapterView.OnItemClickListener(){
public void onItemClick(AdapterView<?> parent, View view, int position, long id){
Object item = parent.getItemAtPosition(position);
}
});
Later, How can I found "0" or "my Image"??