From: Damyan Ivanov Date: Mon, 8 Feb 2021 06:06:28 +0000 (+0000) Subject: member rearrangement X-Git-Tag: v0.17.0~93 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=936c7f5f095871cd317ce1d8b3ca55d368031849;p=mobile-ledger.git member rearrangement --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java index e1143c46..988d1bb8 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java @@ -44,11 +44,10 @@ import java.util.concurrent.atomic.AtomicInteger; public class TemplateDetailsViewModel extends ViewModel { private final MutableLiveData> items = new MutableLiveData<>(Collections.emptyList()); + private final AtomicInteger syntheticItemId = new AtomicInteger(0); private Long mPatternId; private String mDefaultPatternName; private boolean itemsLoaded = false; - private final AtomicInteger syntheticItemId = new AtomicInteger(0); - public String getDefaultPatternName() { return mDefaultPatternName; }