diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/CMessageList.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/CMessageList.java index a6f5eaa..2f1c13a 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/CMessageList.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/CMessageList.java @@ -82,7 +82,7 @@ public class CMessageList { MessageAdapter a = ref.get(); if (a == null) continue; - a.customNotifyItemInserted(count); + a.customNotifyDataSetChanged(); a.scrollToTop(); } CleanUpListener(); diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java index 4fa74b8..e83ea5e 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/MessageAdapter.java @@ -57,7 +57,6 @@ public class MessageAdapter extends RecyclerView.Adapter viewHolders.put(view, true); } - @Override public void onViewRecycled(@NonNull RecyclerView.ViewHolder holder) { diff --git a/web/index.php b/web/index.php index 8e760bd..3b9c8fb 100644 --- a/web/index.php +++ b/web/index.php @@ -54,7 +54,7 @@