diff --git a/README.md b/README.md index 5a7e827..8f546c7 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ Add the dependency dependencies { compile 'com.google.code.gson:gson:2.8.1' compile 'org.greenrobot:greendao:3.2.0' - compile 'com.github.deckyfx:simpleadapter:0.19@aar' + compile 'com.github.deckyfx:simpleadapter:0.20@aar' compile 'com.github.deckyfx:dbhelper:0.4' - compile 'com.github.deckyfx:dbsession:0.14' + compile 'com.github.deckyfx:dbsession:0.15' } ``` diff --git a/dbsession/build.gradle b/dbsession/build.gradle index 9c21546..faaa967 100644 --- a/dbsession/build.gradle +++ b/dbsession/build.gradle @@ -59,7 +59,7 @@ dependencies { compile 'com.google.code.gson:gson:2.8.1' compile 'com.github.deckyfx:dbhelper:0.4' - compile 'com.github.deckyfx:simpleadapter:0.19@aar' + compile 'com.github.deckyfx:simpleadapter:0.20@aar' compile 'com.android.support:appcompat-v7:24.0.0-beta1' compile 'com.android.support:recyclerview-v7:24.0.0-beta1' diff --git a/dbsession/gradle.properties b/dbsession/gradle.properties index 292ce6f..bdeebc3 100644 --- a/dbsession/gradle.properties +++ b/dbsession/gradle.properties @@ -1,2 +1,2 @@ -versionName=0.14 +versionName=0.15 versionCode=1 \ No newline at end of file diff --git a/dbsession/src/main/java/com/github/deckyfx/dbsession/DBSession.java b/dbsession/src/main/java/com/github/deckyfx/dbsession/DBSession.java index 7380855..2d83509 100644 --- a/dbsession/src/main/java/com/github/deckyfx/dbsession/DBSession.java +++ b/dbsession/src/main/java/com/github/deckyfx/dbsession/DBSession.java @@ -110,11 +110,7 @@ public void set(JSONObject config) throws JSONException { } public void set(BaseItem session) throws JSONException { - this.set(session.toJson()); - } - - public void save(){ - + this.set(BaseItem.toJson(session)); } public void clear(){