Comments (13)
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.
from pageddragdropgrid.
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.
private View getDraggedView() {
return getChildAt(getChildCount()-2);
// return getChildAt(dragged);
}
from pageddragdropgrid.
Could anybody solve the issue?
from pageddragdropgrid.
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.
from pageddragdropgrid.
If you fix it, issue a pull request and i will merge it.
thanks
from pageddragdropgrid.
Hi anlosar, can you share your fix please? Thanks ;)
from pageddragdropgrid.
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 :)
from pageddragdropgrid.
Hi, I am currently not using view removal, so could you please share it anyway? If you want, you can send it privately at [email protected].
Thanks ;)
from pageddragdropgrid.
I sent you an email with the code. If you fix that issue, please tell us and upload it. Thanks
from pageddragdropgrid.
Hi anlosar.
Please share your working version to me.
I want to solution.
If you can, please send at [email protected].
from pageddragdropgrid.
Sent.
from pageddragdropgrid.
Hi anlosar,
one more, please ;)
[email protected]
Thank you!
from pageddragdropgrid.
hi @anlosar when long click item in kit kat wrong please your fix mail for me [email protected] thank you
from pageddragdropgrid.
Related Issues (20)
- Dynamic add to gridview
- Question: Is there some limit to the amount of views in a page? HOT 1
- Vertical Scrolling
- Vertical Scrolling Problem HOT 1
- Manage max number of children per page
- Get itemId
- VerticalScroll HOT 7
- is there a support for manually deleting an item without dragging it to the delete view zone? HOT 2
- notifayDataSetChange
- Adding items dynamically is broken after merging #47 HOT 1
- Horizontal Scroll View as a base layout for Grid
- get Drag Event
- I am not able to update data of grid view HOT 2
- Scrolling issue
- How to get Item in onClickListener
- LongClick then Drop Issue
- My Implementation to move items instead of swap
- Animation when drag item in gridview
- How to Swap item view between pages?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pageddragdropgrid.