Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cursor in android studio select rectangle area

Tags:

android

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.

enter image description here

I don't know whether i have set something. Please help me to fix it?

Thank you so much.

like image 817
Bruce Avatar asked Jun 10 '16 15:06

Bruce


People also ask

What is cursor moveToFirst?

moveToFirst() method moves the cursor to the first row.

Which method is used to get data from cursor?

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.

What is the use of cursor in Android?

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.

Which function do you call from a cursor object to get the number of rows in the cursor object?

Execute the SELECT query using the cursor. execute() method. Get resultSet (all rows) from the cursor object using a cursor. fetchall() .


1 Answers

If you are using Windows use this :

Alt + Shift + Insert to switch into selection mode.

Update

For Mac :

Shitf + Command + 8

like image 87
BOUTERBIAT Oualid Avatar answered Sep 26 '22 13:09

BOUTERBIAT Oualid