is Cursor value Null - Android Database

Android examples for Database:Cursor

Description

is Cursor value Null

Demo Code


//package com.java2s;
import android.database.Cursor;

public class Main {
    public static boolean isNull(Cursor c, String columnName) {
        return c.isNull(c.getColumnIndex(columnName));
    }/*from   w w  w.  ja v  a  2s.  com*/
}

Related Tutorials