diff --git a/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java b/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java index f16a19283..8b3beac41 100644 --- a/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java @@ -245,7 +245,8 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana statusList.addAll(0, context.ancestors); composeAdapter.setStatusCount(context.ancestors.size() + 1); composeAdapter.notifyItemRangeInserted(0, context.ancestors.size()); - // composeAdapter.notifyItemChanged(context.ancestors.size() + 1); + + composeAdapter.notifyItemRangeChanged(0, statusList.size()); if (binding.recyclerView.getItemDecorationCount() > 0) { for (int i = 0; i < binding.recyclerView.getItemDecorationCount(); i++) { binding.recyclerView.removeItemDecorationAt(i); diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java index af2f3fb5a..cb7764448 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java @@ -397,6 +397,7 @@ public class ComposeAdapter extends RecyclerView.Adapter(); } @@ -1096,7 +1097,6 @@ public class ComposeAdapter extends RecyclerView.Adapter