pnavk / drag-and-drop-listview Goto Github PK
View Code? Open in Web Editor NEWDrag to rearrange ListView for Xamarin Android
Drag to rearrange ListView for Xamarin Android
Is there an example of Xamarin Android MvvmCross?
I know maybe this isn't the best place to send you a comment, I'm implementing your Drag and Drop List in Xamarin Forms, I was able to get the List to work, but I'm having an issue when I reach the bottom of the List is not auto scrolling, In the original code it does auto scroll, I'm wondering if you have the implementation, otherwise I'm going to finish the implementation and I will share the code. Thank you and nice work.
This code using working very well if the row view is simple type, and if another row view this code is exception message:
Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
[] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2098/3efa14c4/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
[] at Android.Runtime.JNIEnv.CallNonvirtualIntMethod (IntPtr jobject, IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms) [0x00085] in /Users/builder/data/lanes/2098/3efa14c4/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:846
[] at Android.Widget.AdapterView.GetPositionForView (Android.Views.View view) [0x00071] in /Users/builder/data/lanes/2098/3efa14c4/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.Widget.AdapterView.cs:1328
[] at Bidvalet.Droid.SortView.DraggableListView+c__AnonStorey1.<>m__0 (System.Object sender, System.EventArgs e) [0x00018] in /Users/admin/bitvalet/New Ver2/Bidvalet/Droid/Screen/SortView/DraggableListView.cs:386
[] --- End of managed exception stack trace ---
[] java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
[] at android.widget.AdapterView.getPositionForView(AdapterView.java:826)
[] at mono.android.animation.AnimatorEventDispatcher.n_onAnimationEnd(Native Method)
[] at mono.android.animation.AnimatorEventDispatcher.onAnimationEnd(AnimatorEventDispatcher.java:40)
[] at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1089)
[] at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:666)
[] at android.animation.ValueAnimator$AnimationHandler.run(ValueAnimator.java:682)
[] at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
[] at android.view.Choreographer.doCallbacks(Choreographer.java:590)
[] at android.view.Choreographer.doFrame(Choreographer.java:559)
[] at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
[] at android.os.Handler.handleCallback(Handler.java:739)
[] at android.os.Handler.dispatchMessage(Handler.java:95)
[] at android.os.Looper.loop(Looper.java:145)
[] at android.app.ActivityThread.main(ActivityThread.java:5938)
[] at java.lang.reflect.Method.invoke(Native Method)
[] at java.lang.reflect.Method.invoke(Method.java:372)
[] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389)
[] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)
The link at the bottom of the README.md leads to a dead page
It works fine when there is no row addition or row removal but when I add or remove one row and trying to use draggable functionality it fails and crashes
Hi,
Is your code support xamarin forms ?
Any solution?
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.