From 34d25130e5322c0f38ad8b021d7502df0c41c9e6 Mon Sep 17 00:00:00 2001
From: Fabio Heyming <fabio.heyming@web.de>
Date: Sat, 10 Jun 2023 01:17:53 +0200
Subject: [PATCH] Fixed multiple toast stack bug

---
 .../mampfmobil/ui/Classes/Recyclerviewadapter_Shop.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/main/java/com/example/mampfmobil/ui/Classes/Recyclerviewadapter_Shop.java b/app/src/main/java/com/example/mampfmobil/ui/Classes/Recyclerviewadapter_Shop.java
index 9838eb2..02b7e65 100644
--- a/app/src/main/java/com/example/mampfmobil/ui/Classes/Recyclerviewadapter_Shop.java
+++ b/app/src/main/java/com/example/mampfmobil/ui/Classes/Recyclerviewadapter_Shop.java
@@ -28,7 +28,7 @@ public class Recyclerviewadapter_Shop extends RecyclerView.Adapter<Recyclerviewa
     static Context context;
     ArrayList<ShopItem> shopItemList;
 
-
+    public static Toast toast;
 
     public Recyclerviewadapter_Shop(Context context, ArrayList<ShopItem> shopItemList){
         this.context = context;
@@ -113,7 +113,7 @@ public class Recyclerviewadapter_Shop extends RecyclerView.Adapter<Recyclerviewa
         TextView tvName, tvSupName, tvAmountNr,tvPrice;
 
         ShopItem sI;
-        private Toast toast;
+
 
         public MyViewHolder(@NonNull View itemView) {
             super(itemView);
-- 
GitLab