简体   繁体   English

如何在我的android应用中实现拖放功能?

[英]How would I implement a drag and drop function into my android app?

I am fairly new to programming. 我是编程新手。 I am currently using Xamarin in C# to develop an android app. 我目前在C#中使用Xamarin开发一个Android应用程序。 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. 该应用程序包含8000多个短语,用户可以选中任何短语旁边的复选框并将其显示在结果页面上。 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. 我被困在这一点上,直到我弄清楚这一点才能完成。

如果没有更多有关代码的详细信息,很难给出更准确的答案,但是您是否看过拖放文档中的Android文档或Vogella教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何实现拖放 - How to implement Drag and Drop 如何在c#windows metro app中实现拖放? - How to implement drag and drop in c# windows metro app? 如何在 Blazor 中实现拖放? - How to implement drag and drop in Blazor? 如何将选定的文本从Firefox拖放到Winform应用程序? - How can I drag and drop selected text from firefox to my winform app? 如何让我的应用程序拖放像Visual Studio这样的工具箱? - How do I allow my app to have drag and drop toolboxes like Visual Studio? 如何在没有我的WPF主机的情况下启动具有管理员权限的进程,并且还运行管理员权限以实现文件拖放? - How do I start a process with administrator privileges without my WPF host also runs with admin rights in order to implement file drag & drop? 如何在我的“Metro Style”应用程序中拖放WPF? - How to do Drag and Drop in WPF in my “Metro Style” app? 如何拖放按钮应用程序?xamarin android - how can drag and drop button app?xamarin android 如何在WinForms中实现常见的“拖放”图标 - How to implement the common “Drag and Drop” icon in WinForms 使用 VirtualFileDataObject 拖放大型虚拟文件 - 拖放后我无法拖动任何文件,直到我的应用程序再次激活 - Drag & Drop large virtual files using VirtualFileDataObject - After Drop I cannot drag any file until my app gets active again
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM