我将如何实现一个拖放功能为我的Andr​​oid应用程序? [英] How would I implement a drag and drop function into my android app?

查看:138
本文介绍了我将如何实现一个拖放功能为我的Andr​​oid应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是相当新的编程。我目前使用Xamarin在C#中正在开发Android应用程序。该应用程序包括超过8000个短语,用户将能够检查旁边的任何短语复选框,并让它出现在结果页面上。我有一个函数写出来的完全。我需要让这个用户可以拖放周围出现的结果页面上的短语。我停留在这一点上,不能完成,直到我得到这个想通了。

I am fairly new to programming. I am currently using Xamarin in C# to develop an android app. The app consists of over 8000 phrases which the user will be able to check a checkbox next to any phrase and have it appear on the results page. I have that function written out completely. I need to make it so that the user can drag and drop the phrases around that appear on the results page. I am stuck at this point and cannot finish till I get this figured out.

推荐答案

很难给没有你的code更多细节更precise的答案,但你看了上的拖放或的 Vogella教程

Hard to give a more precise answer without more details about your code, but have you looked at the Android documentation on Drag and Drop or the Vogella tutorial?

这篇关于我将如何实现一个拖放功能为我的Andr​​oid应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆