我将如何实现一个拖放功能为我的Andr​​oid应用程序?我的、我将、如何实现、拖放

2023-09-04 03:10:39 作者:華燈初上

我是相当新的编程。我目前使用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?