Android SQLiteCursor - getString return value from nullable column

The Cursor API reports that the behavior is determined by the implementation when trying to access a column with a null value, and if I go to SQLiteCursor , the behavior is not documented. Does SQLiteCursora return NULLor throw Exception?

+3
source share
2 answers

Nothing, I solved the problem by setting the value to zero using the isNull method .

+5
source

cursor.isEmpty () works for me.

-1
source

All Articles