My cursor have some issue when i select area. It not select from right to left, from bottom to top, it seem to be select rectangle area. my problem is showed in below picture.
I don't know whether i have set something. Please help me to fix it?
Thank you so much.
moveToFirst() method moves the cursor to the first row.
Once the cursor's position is pointing to a valid row, the columns of the row can be read from the cursor. To read the data, the code in Listing 5.10 uses two methods from the cursor class: Cursor. getColumnIndexOrThrow() and one of the type get() methods from the Cursor class.
Introduction to Cursor in Android The basic purpose of a cursor is to point to a single row of the result fetched by the query. We load the row pointed by the cursor object. By using cursor we can save lot of ram and memory. Here, we pass the table name, column name only then we receive the cursor.
Execute the SELECT query using the cursor. execute() method. Get resultSet (all rows) from the cursor object using a cursor. fetchall() .
If you are using Windows use this :
Alt + Shift + Insert to switch into selection mode.
Update
For Mac :
Shitf + Command + 8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With