mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Fix a crash
This commit is contained in:
parent
3746673f9d
commit
ba1aa01d46
1 changed files with 1 additions and 1 deletions
|
@ -2502,7 +2502,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
statusIdMax = statusList.get(holder.getBindingAdapterPosition() - 1).id;
|
statusIdMax = statusList.get(holder.getBindingAdapterPosition() - 1).id;
|
||||||
}
|
}
|
||||||
fetchMoreCallBack.autoFetch(statusIdMin, statusIdMax, status);
|
fetchMoreCallBack.autoFetch(statusIdMin, statusIdMax, status);
|
||||||
adapter.notifyItemChanged(holder.getBindingAdapterPosition());
|
recyclerView.post(() -> adapter.notifyItemChanged(holder.getBindingAdapterPosition()));
|
||||||
}
|
}
|
||||||
} else if (status.isFetching) {
|
} else if (status.isFetching) {
|
||||||
DrawerMessageFetchingBinding drawerMessageFetchingBinding = DrawerMessageFetchingBinding.inflate(LayoutInflater.from(context));
|
DrawerMessageFetchingBinding drawerMessageFetchingBinding = DrawerMessageFetchingBinding.inflate(LayoutInflater.from(context));
|
||||||
|
|
Loading…
Reference in a new issue