sqlite查询数据库数据cursor转list封装

这里面只写了几种属性判断,若是你有其余属性也能够继续作判断。 //使用样例:实体 bean=new 实体();List list=CursorToList(cursor,bean); // public static List CursorToList(Cursor cursor,MyObject bean){ List resultList=new Array
相关文章
相关标签/搜索