remove activeandroid
This commit is contained in:
parent
6f4d79bca8
commit
42ceaac0f7
2 changed files with 1 additions and 14 deletions
|
@ -279,7 +279,6 @@ dependencies {
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||||
|
|
||||||
// xDrip-plus port
|
// xDrip-plus port
|
||||||
implementation 'com.activeandroid:thread-safe-active-android:3.1.1'
|
|
||||||
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
|
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
|
||||||
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
|
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
|
||||||
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
|
||||||
|
|
|
@ -1,18 +1,12 @@
|
||||||
package com.eveningoutpost.dexdrip.Models;
|
package com.eveningoutpost.dexdrip.Models;
|
||||||
|
|
||||||
import android.provider.BaseColumns;
|
|
||||||
|
|
||||||
import com.activeandroid.Model;
|
|
||||||
import com.activeandroid.annotation.Column;
|
|
||||||
import com.activeandroid.annotation.Table;
|
|
||||||
import com.google.gson.annotations.Expose;
|
import com.google.gson.annotations.Expose;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by jamorham on 11/12/2016.
|
* Created by jamorham on 11/12/2016.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Table(name = "BloodTest", id = BaseColumns._ID)
|
public class BloodTest {
|
||||||
public class BloodTest extends Model {
|
|
||||||
|
|
||||||
public static final long STATE_VALID = 1 << 0;
|
public static final long STATE_VALID = 1 << 0;
|
||||||
public static final long STATE_CALIBRATION = 1 << 1;
|
public static final long STATE_CALIBRATION = 1 << 1;
|
||||||
|
@ -27,27 +21,21 @@ public class BloodTest extends Model {
|
||||||
private final static boolean d = false;
|
private final static boolean d = false;
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
@Column(name = "timestamp", unique = true, onUniqueConflicts = Column.ConflictAction.IGNORE)
|
|
||||||
public long timestamp;
|
public long timestamp;
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
@Column(name = "mgdl")
|
|
||||||
public double mgdl;
|
public double mgdl;
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
@Column(name = "created_timestamp")
|
|
||||||
public long created_timestamp;
|
public long created_timestamp;
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
@Column(name = "state")
|
|
||||||
public long state; // bitfield
|
public long state; // bitfield
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
@Column(name = "source")
|
|
||||||
public String source;
|
public String source;
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
@Column(name = "uuid", unique = true, onUniqueConflicts = Column.ConflictAction.IGNORE)
|
|
||||||
public String uuid;
|
public String uuid;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue