From edb8bc2eaacb16972c550209008fa403ed660432 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Mon, 8 Feb 2021 05:44:37 +0000 Subject: [PATCH] header row has (adapter) ID of 0, not -1 -1 is the ID of the first newly added account and IDs must be unique --- .../ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java | 2 +- .../mobileledger/ui/templates/TemplateDetailsViewModel.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java index 5c49a494..a12c92b6 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java @@ -193,7 +193,7 @@ class TemplateDetailsAdapter extends RecyclerView.Adapter