Комментарии:
Hello, thanks for the great video but unfortunately it solved just an half of my problem. My recViews are connected to a realtime Firebase Database and I would like to implement the changes in position (swapping) also in the database so that those changes are then kind of permanent and they do not disappear when I exit the activity.
Thanks in advance for your help and God bless u
The SWAP operation is not correct. Let's say I have a list of 3 elements [A,B,C] and the user moved the item from position 2 (C) to position 0 very quickly that the onMove() method was called only once when fromPosition=2 and toPosition=0 (It happened to me) then the updated list should be [C,A,B] and not [C,B,A] as the SWAP operation does
ОтветитьCan you please help , in Drag and Drop for child items having different sizes.
I am using StaggeredGridLayoutManager.
Drag and Drop is working fine. But during Drag of Big items leads to Items duplication in RecyclerView background.
thx
ОтветитьThanks
ОтветитьThanks a lot! Short, simple, working and exactly what I was searching And Struggle For eight hours !
Ответитьhi i am getting error " java.lang.IndexOutOfBoundsException: Index: 5, Size: 0" on collections.swap. my data is from firestore. can u help me?
ОтветитьКак мне двигать кнопки в LinearLayout?
Ответить🌹🌹🌹
ОтветитьThank you, helped!
ОтветитьAnd SQLite record position of this RecyclerView, i not searching video in you tube? with use of the onLongClickListener?
ОтветитьAnd SharefPreference in Drag in Drog of the RecyclerView?
ОтветитьReally helpful!
ОтветитьThanks a lot! Short, simple, working and exactly what I was searching for.
Ответить@yourtruly there is a position like 0,1,2,3,4,5 on the listing. Can you suggest to me how I can update that position as well?
Ответитьthank you for this short and very useful vidoe
ОтветитьCongratulations on the content, but if I quit sort a list down, if I quit the activity, is the reordering saved? I don't think so, I never see these videos in their entirety. What to do to try to follow your channel, will you complete the rest of the video?
Ответитьstill relevant in 2021 thanks..
ОтветитьExcellent tutorial, very well explained and demonstrated. Thanks. Love from England ❤️
ОтветитьYou have a good keyboard :-)
Ответить