SQLite的一些用法
发布时间:2020-12-13 00:19:00 所属栏目:百科 来源:网络整理
导读:1)SQLiteQueryBuilder:跟java里面的prepareStatement差不多 2)UriMatcher:用来匹配uri的 3)TextUtils.isEmpty() 4)cursor.setNotificationUri//tell the cursor which uri to watch,so it know when its source datachange. eg: c.setNotificationUri(ge
1)SQLiteQueryBuilder:跟java里面的prepareStatement差不多 2)UriMatcher:用来匹配uri的 3)TextUtils.isEmpty() 4)cursor.setNotificationUri//tell the cursor which uri to watch,so it know when its source datachange. eg: c.setNotificationUri(getContext().getContentResolver(),uri); (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |