-
Notifications
You must be signed in to change notification settings - Fork 184
long click on item android 4.4 #41
Comments
Also happening to me. Does anyone know how to solve this? It would be nice to know if someone already fixed it before trying myself. |
it also happening to me. when i debug it. i found the method getDraggedView in DragDropGrid Useing ChildView at (getChildCount-2) not dragged position. but if i use getChildAt(dragged).it make some othen errors and crashed. |
Could anybody solve the issue? |
The problem is the change in View.bringToFront() in KitKat ( http://developer.android.com/reference/android/view/View.html#bringToFront%28%29 ). With this change it is not necessary to call invalidate() to change view children order anymore. Since this library was relying in children order, with this change it breaks. I have a working version were I keep the order in a List, but I still need to test it a bit more, fix a couple of bugs, and make the code way prettier. |
If you fix it, issue a pull request and i will merge it. thanks |
Hi anlosar, can you share your fix please? Thanks ;) |
Sorry, but I discovered my version crashes when removing views and didn't have time to solve it (I was a couple of evenings dealing with it but no success). I'll try to fix this asap, but, you know, time is never enough :) |
Hi, I am currently not using view removal, so could you please share it anyway? If you want, you can send it privately at venator85@gmail.com. |
I sent you an email with the code. If you fix that issue, please tell us and upload it. Thanks |
Hi anlosar. |
Sent. |
Hi anlosar, one more, please ;) Thank you! |
hi @anlosar when long click item in kit kat wrong please your fix mail for me z.sharif.sh@gmail.com thank you |
When i long click on item after updating my phone to kitkat, the clicked item is going to the end of the list. What should I do to fix that?
The text was updated successfully, but these errors were encountered: