Appcelerator Titanium 多选选择器 Android
有没有办法创建一个允许您选择多行的选择器?或者与此类似的东西(看起来像在文件浏览器中选择多个文件时的东西)?
Is there any way to create a picker which allows you to select multiple rows? Or something that is similar to this (Something that looks like when you select multiple files in a File Browser)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试此代码,此代码来自 Appcelerator Titanium Kitchensink。你可以在厨房水槽里找到这个。路径:kitchensinl/resource/emaples/picker_android_spinner_text.js。希望这会有所帮助。这是在android中生成多列选择器的代码。
Try This Code, This code is from Appcelerator Titanium Kitchensink. You can find this in kitchensink. Path : kitchensinl/resource/emaples/picker_android_spinner_text.js. Hope this will help. It's code to generate multi column picker in android.
尝试 https://gist.github.com/981250
Try https://gist.github.com/981250
您可能更喜欢使用复选框。以下是关于这个问题的讨论。 堆栈溢出链接
You may prefer using check boxes. Here is a discussion on this issue. Stack-overflow Link