implement drag and drop functionality with Xamarin Android - android

I'm trying to implement drag and drop functionality in xamarin android.
I also want to implement pinch to zoom with drag and drop.
I referred a article, although it is not very clear.
https://blog.xamarin.com/android-tricks-supporting-drag-and-drop-in-an-app/
I also tried with other links, but not succeed.
I found a app which has the same functionality I want to.
https://play.google.com/store/apps/details?id=com.polyvore
So Please help me on this.

Related

How to create UI and Controls like Apple Music App in Android?

Video Link
I want to create view and animation like Apple Music App available in iOS. But, I want to do it in Android similar to above video link.
Is it possible to create such views in Android? How can I achieve this? How to proceed in this?
Please share any links and references.
This question is already asked but has no answer.
I want to implement something like Apple's new Music app which is synced with iTunes. Bubbles on the move, according to mood we can select a music, genre etc.
I want this type of gesture with moving bubbles in Android. Can anyone help me out, how to figure out and play with Gestures or Motion Controls of that bubbles anywhere in screen. Also is there any support library if available would be very helpful to implement and move further. The bubbles are to be created randomly by a web service call.
Any suggestion in this will be helpful.
i have used box2d with libGdx to configure the gradle in android studio...
u can refer my project on github which has selectable bubbles in random motion, and u can ask if any doubts...
https://github.com/mohitKejriwal/Bubble-UI-Android

Android simple drag & drop library

Is there a library for moving views by dragging & dropping on Android? I don't want any fancy animations or anything, just users can drag the ImageButtons to anywhere in the screen and they will stay where they are dropped.
I googled it and searched for it but I couldn't find anything ready to use, will I be required to implement it using onTouch and stuff?
By the way, my API level is 8.
Check out this Drag and Drop tutorial in the API Guides.

Drag and Drop images from one gallery to another Android

I have a requirement in my app to drag images from one Gallery to another Gallery. Is that possible to implement? Can someone provide me with some sample code. Also I am trying to implement this in android 2.x so i cannot use the OnDragListener or other classes used for dragging in android 3.x . Thanks for help!

How to drag and drop views in Android tablet app?

I want to show a dashboard like interface in my Android tablet app where the user can drag and drop listviews using touch. Is there a library that i can use to give d&d to my app?
For android 3.0 and up, which is usually in all Android tablets. You can use this:
http://developer.android.com/guide/topics/ui/drag-drop.html
You do not necessarily need a library to give the drag and drop functionality. It is already in Android 3.0 and up. If you want the code, the best way is to write it yourself as it will suit you to what you want. To learn about it, look at several examples and read them. It is pretty simple and acts much like OnTouchListener and MotionEvent.

Titanium Mobile: Slide to switch between the views

I am developing a mobile app using Titanium. I came across the Google Plus, Tweetdeck, Market Apps for Android. To switch between the tabs they use the slide gesture. Its like the next view simply slides in based on your swipe/drag. I would also like to add the same kind to behavior for my app I would like to have it work on both Android and iOS platforms. How can I have it?
I have tried Ti.UI.scrollableView. The problems I faced were
The sliding was not as responsive as seen in the above apps.
The view does not move along with the finger drag. It moves after the finger drag is finished.
It seems to take more memory as the application response slows drastically and animations dont appear to be smooth.
Kindly let me know if there is any other alternative to implement this kind of experience in the app.
Thanks!!
What you basically need is a Ti.UI.ScrollableView which implements the native Android ViewPager. Those other Apps are binding their Tabs to the ViewPager. You can't do this with a Ti.UI.TabGroup but you can either use your own Tab views or some other module that provides this functionality like this. You could also have a look at my Alloy widget here - it provides a custom tab-indicator for Ti.UI.ScrollableView (without another module).
For Android you should consider using a third-party library to implement such functionality.
Personally I use PagerSlidingTabStrip which I have found that works really well.

Categories

Resources