Closed scifinder closed 6 years ago
I solved the problem.
MyRecyclerViewAdapter(OrderedRealmCollection
Write me, verteletsky@bitrix24.ru
@Verteletsky I had it from the beginning.
MyRecyclerViewAdapter(OrderedRealmCollection<RealmElement> data, Context ctx) {
super(data, true);
this.mContext = ctx;
setHasStableIds(true);
}
But it don't work for me.
@scifinder Go telegram, take my code from bitbucket
public RvRealmAdapter(RealmList
В итоге я ушел от их адаптера и пишу свой.
Hello! I use this code to delete an item from RealmRecyclerView:
This works fine for items in the middle and at the end of the list. However, if I delete the first item, the latter, rather than the second one, becomes its place. For example: before removing, it was A - B - C - D, after removal was D - B - C.