1

This is my debut question here, but I hope start answering soon.

I'm trying to use CommonsWare's TouchListView inside a dialog (a subclass of PreferenceDialog to be precise).

I got the list rendering the items, but they can't be dragged.

Seeing that the component can't be used in other scenarios (like with Fragment or TabGroup) I'm wondering if it's possible to use it in a dialog.

Thanks!

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
Chopin
  • 1,442
  • 17
  • 24
  • I have no idea. It was derived from code that was based on a full-screen `ListView` in an activity. Given the way dialogs work and given how `TouchListView` works, I can see where you might encounter problems. You might consider trying a dialog-themed activity rather than an actual dialog. And, as is noted on the project home page, `TouchListView` is no longer supported. – CommonsWare Apr 25 '12 at 20:43
  • Thanks for the answer! Maybe I'll consider other desing, 'cause I feel making a new activity doesn't justify the overhead for a simple preference. I saw the project was flagged as unsupported recently. Have you know an alternative I can use instead? – Chopin Apr 26 '12 at 01:03
  • I have seen one or two but never really kept track of them, sorry. – CommonsWare Apr 26 '12 at 11:30

0 Answers0