mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 09:10:04 +02:00
parent
12e1360cc1
commit
10f2ac396c
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
|
||||||
statusList.addAll(0, context.ancestors);
|
statusList.addAll(0, context.ancestors);
|
||||||
composeAdapter.setStatusCount(context.ancestors.size() + 1);
|
composeAdapter.setStatusCount(context.ancestors.size() + 1);
|
||||||
composeAdapter.notifyItemRangeInserted(0, context.ancestors.size());
|
composeAdapter.notifyItemRangeInserted(0, context.ancestors.size());
|
||||||
composeAdapter.notifyItemChanged(context.ancestors.size() + 1);
|
// composeAdapter.notifyItemChanged(context.ancestors.size() + 1);
|
||||||
if (binding.recyclerView.getItemDecorationCount() > 0) {
|
if (binding.recyclerView.getItemDecorationCount() > 0) {
|
||||||
for (int i = 0; i < binding.recyclerView.getItemDecorationCount(); i++) {
|
for (int i = 0; i < binding.recyclerView.getItemDecorationCount(); i++) {
|
||||||
binding.recyclerView.removeItemDecorationAt(i);
|
binding.recyclerView.removeItemDecorationAt(i);
|
||||||
|
|
Loading…
Reference in a new issue