X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fmodel%2FData.java;h=13998c7205210368854e41aaa5ca6f32abf0e598;hp=3ab770b6ccb38116acc905348e45598562ff0e0f;hb=94aa0aa57db3dce40f31fc0321c718998d9cb48b;hpb=e3872d583f324e225580a6fd05568d36e4ba0db0 diff --git a/app/src/main/java/net/ktnx/mobileledger/model/Data.java b/app/src/main/java/net/ktnx/mobileledger/model/Data.java index 3ab770b6..13998c72 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/Data.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/Data.java @@ -17,6 +17,10 @@ package net.ktnx.mobileledger.model; +import net.ktnx.mobileledger.utils.ObservableAtomicInteger; +import net.ktnx.mobileledger.utils.ObservableList; +import net.ktnx.mobileledger.utils.ObservableValue; + import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -29,4 +33,6 @@ public final class Data { public static ObservableAtomicInteger backgroundTaskCount = new ObservableAtomicInteger(0); public static ObservableValue lastUpdateDate = new ObservableValue<>(); public static ObservableValue profile = new ObservableValue<>(); + public static ObservableList profiles = + new ObservableList<>(new ArrayList<>()); }