遇到問題?歡迎訪問GitHub頁面提交Issue https://github.com/SumiMakito/QuickKV ,同時(shí)也歡迎收藏項(xiàng)目
注意:只有String/Integer/Long/Double/Float/Boolean/JSONObject/JSONArray類型的數(shù)據(jù)才可被持久化。
0.8.1版本后引入異步支持
qkvdb.persist(); //return boolean // or persist asynchronously ... qkvdb.persist(new KeyValueDatabase.Callback(){ @Override public void onSuccess(){ //Do something... } @Override public void onFailed(){ //Do something... } }); //return void(nothing)
更多建議: