What is the use of Cursor in Android?

Lượng Tiger

New member
What is the use of Cursor in Android?
Answer
A Cursor represents
the result of a query and basically points to one row of the query result. This way Android can buffer the query results efficiently; as it does not have to load all data into memory. To get the number of elements of the resulting query use the getCount() method.
 

Tìm kiếm

Back
Top