Giter VIP home page Giter VIP logo

Comments (13)

 avatar commented on July 19, 2024

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.

X3Daniel avatar X3Daniel commented on July 19, 2024

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.

emredurmuss avatar emredurmuss commented on July 19, 2024

Could anybody solve the issue?

from pageddragdropgrid.

 avatar commented on July 19, 2024

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.

mrKlar avatar mrKlar commented on July 19, 2024

If you fix it, issue a pull request and i will merge it.

thanks

from pageddragdropgrid.

venator85 avatar venator85 commented on July 19, 2024

Hi anlosar, can you share your fix please? Thanks ;)

from pageddragdropgrid.

 avatar commented on July 19, 2024

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.

venator85 avatar venator85 commented on July 19, 2024

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.

 avatar commented on July 19, 2024

I sent you an email with the code. If you fix that issue, please tell us and upload it. Thanks

from pageddragdropgrid.

kysu0906 avatar kysu0906 commented on July 19, 2024

Hi anlosar.
Please share your working version to me.
I want to solution.
If you can, please send at [email protected].

from pageddragdropgrid.

 avatar commented on July 19, 2024

Sent.

from pageddragdropgrid.

komaxx avatar komaxx commented on July 19, 2024

Hi anlosar,

one more, please ;)
[email protected]

Thank you!

from pageddragdropgrid.

fatemeh2sh avatar fatemeh2sh commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.