Here is my question. I have one table like this
alias id age
----- -- ---
A0 1 23
A0 2 12
A0 3 32
B0 1 45
B0 2 80
B0 3 56
C0 1 __
C0 2 __
C0 3 __
and I want to extract with the help of a cursor only the rows with the same alias, for example: only the rows that starts with B0. I've found this:
createIndexCursor(Table table, Index index,Object[] startRow, Object[] endRow)
using this example how do I set index, starRow and endRow???
I will fill a gridview with this data and once the user edit one empty field I will save that row from the gridview into a map, so I found this method:
asUpdateRow(Map<String,?> rowMap)
So how can I update the row of the table using the attributes
gridView.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View v,
int position, long id) {
in order to save data in the exact position?