天天看点

Android sqlite cursor的遍历

查询并获得了cursor对象后,用while(corsor.movetonext()){}遍历,当corsor.movetonext()方法调用,如果发现没有对象,会返回false