user interface - Using c#(Xamarin) to drag items in a menu list and reorder them -


in app making there list of axml layouts creates menu(something this: http://jorgeramon.me/wp-content/uploads/2014/09/rooms-list-screen-2.png) trying animate blocks in way if hold them drag them reorder themselves. problem running once scroll in menu pickup item item drops had instead of scrolling further item , scrolls page instead. here ontouch method(currently) referrence:

 public bool ontouch(view v, motionevent e)     {           switch (e.action)         {             case motioneventactions.down:                 timer = 0;                 clippos = v.gety();                 console.writeline(clippos);                 break;             case motioneventactions.move:                 timer++;                 clippos = v.gety();                  if(timer > 10)                 {                     v.animate()                             .y(e.rawy)                             .setduration(0)                             .start();                     console.writeline(clippos);                 }                 break;             case motioneventactions.up:                 timer = 0;                 console.writeline("released");                 break;         }         return true;     } 


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -