canbilgin / draganddropsort Goto Github PK
View Code? Open in Web Editor NEWSortable Drag and Drop Sample
License: MIT License
Sortable Drag and Drop Sample
License: MIT License
Could you please add the license info to this project? Thanks!
Tried implementing the code with a switcher to enable the drag. And the behavior is fine when activating the list to be reorder but when the switch is turned off the list is still able to be reordered.
I tested on Android 7.0 is OK. But when the app builded on Android devices either Android 6.0 Marshmallow or Android 5.1 Lollipop
When drag viewcell in listview, I got an error "Specified cast is not valid."
At method: public bool OnDrag(AViews.View v, DragEvent e)
var dragItem = (DragItem)e.LocalState;
Could you share me how to fix it?
I only want the drag and drop direction in Y axis and not in X axis too, is this possible? When yes, how I have to change the current source? Thank you!
What about UWP? Thanks
Tried implementing the code with a switcher to enable the drag. When the profile is set to Release mode and try to activate the ordering list the app just simply crash, with debug mode works just fine, The only way I made it work in release mode is to change the Linker option on android properties to: None with that the order works fine.
I have successfully implemented this drag and drop in Xamarin.Forms listview but when I scroll quite fast (than normal slow scroll), it is jaggin/ startling. But if I use the listiew normally without this drag & drop (after removing it), the listview scrolls fine on fast scroll like I did previously. There seems to be clear problem with this drag & drop implementation I believe..
This occurs in all different android versions I tried
Can anyone assist?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.