SimpleCursorAdapter的构造函数被声明为废除,不能用了吗?那该用什么代替呢

============问题描述============


new一个SimpleCursorAdapter时,eclips给出了如下的警告:The constructor SimpleCursorAdapter(Context, int, Cursor, String[], int[]) is deprecated. 同时代码上被画上了删除线,显示此接口被废除了。那该用什么代替呢?

============解决方案1============


多了这个flags
posted @ 2014-10-18 22:20  android开发视频教程  阅读(552)  评论(0编辑  收藏  举报
我要啦免费统计