A.getDatabase()
B.openDatabase()
C.getReadableDatabase()
D.getAbleDatabase()
您可能感興趣的試卷
你可能感興趣的試題
A.setDataSource()
B.prepare()
C.reset()
D.release()
A.通過把當(dāng)前activity對象傳遞給service對象
B.通過向Activity發(fā)送廣播
C.通過Context對象更改Activity界面元素
D.可以在Service中,調(diào)用Activity的方法實(shí)現(xiàn)更改界面元素
A.ContentResolver
B.ContentProvider
C.Cursor
D.SQLiteHelper
A.SharedPreferences pref=new SharedPreferences();
B.Editor editor=new Editor();
C.SharedPreferences對象用于讀取和存儲常用數(shù)據(jù)類型。
D.Editor對象存儲數(shù)據(jù)最后都要調(diào)用commit()方法。
A.boolean
B.int
C.String
D.double
最新試題
在WorkManager中,哪個方法用于設(shè)置工作的唯一性()
在WorkManager中,哪個方法用于獲取WorkRequest的狀態(tài)()
在WorkManager中,哪個方法用于檢查工作是否已被取消()
以下哪個字符串資源ID用于播放視頻的按鈕文本()
StateFlow的生命周期由什么定義()
以下哪個是創(chuàng)建數(shù)據(jù)庫實(shí)例的必要條件()
在ItemDetailsViewModel中,uiState的作用是什么()
在WorkManager中,哪個方法用于設(shè)置WorkRequest的輸出數(shù)據(jù)()
ViewModel的數(shù)據(jù)會在Android系統(tǒng)銷毀并重新創(chuàng)建activity時丟失。
以下哪個不是Room提供的方法()