Fixed
Status Update
Comments
yb...@google.com <yb...@google.com> #2
I think this already is already fixed, waiting for a release :/. Thanks a lot for the sample app, I'll test it w/ latest RV source code.
mh...@gmail.com <mh...@gmail.com> #3
Could you please tell us when that fix is going to be released? I particularly need this layout manager for work.
Thanks.
Thanks.
da...@gmail.com <da...@gmail.com> #4
Per #2, there is a workaround (not a fix) for this issue in the answer to the OP's stackoverflow post. http://stackoverflow.com/a/27889798/2259418
ni...@gmail.com <ni...@gmail.com> #5
Any news about the status of this issue?
ma...@gmail.com <ma...@gmail.com> #6
It has been fixed (just tested with support libraries 23.0.1, I don't know in which version it has been fixed)
yb...@google.com <yb...@google.com> #7
Thanks for the update. #4 if you are still experiencing it with 23.1.1, please submit a sample application and I'll re-open the ticket.
Description
Item 1 Item 2
Item 3
When I move the second one at position 0, I expect to see this:
Item 2 Item 1
Item 3
But I have this (see attached screenshot):
Item 2
Item 1 Item 3
If I swipe on the RecyclerView, the empty cell disappears, and I see the result I expected earlier.
Here's the code I use to move the second item to position 0:
items.remove(1);
items.add(0, item);
notifyItemMoved(1, 0);
Note that with a GridLayoutManager, it works fine. A minimum example is available on GitHub[1], while I explained my original issue (at the time I thought it was a bug in my code) in depth on StackOverflow[2].
[1]:
[2]: