public class CursorUtil
Helper class to work with Cursors
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly()
closes cursor if it is not
null or is not closed already |
static android.database.Cursor |
emptyCursor() |
static boolean |
hasElements() |
public static void closeQuietly()
closes cursor if it is not null or is not closed already
public static boolean hasElements()
true if cursor has elements, false otherwisepublic static android.database.Cursor emptyCursor()