added ignores to fields that dont need to be in the database

This commit is contained in:
Sem van der Hoeven
2020-12-14 12:16:39 +01:00
parent 23d23bead4
commit 6b97c21a8b

View File

@@ -1,5 +1,7 @@
package com.a1.nextlocation.data;
import androidx.room.Ignore;
import java.util.List;
public class Data {
@@ -7,8 +9,14 @@ public class Data {
private int locationsVisited;
private int totalTime;
private List<Coupon> couponList;
@Ignore
private Location nextLocation;
@Ignore
private Location lastLocation;
@Ignore
private Route currentRoute;