On Fri, Aug 27, 2010 at 9:20 AM, FractalBob <ruom...@gmail.com> wrote:

> Thanks for the pointer.
>

You're welcome!


> It seems the objection to a JTree like view is that you'd run out of space
> on a small screen, but that's not valid,
> since you could wrap the tree in a scrollview.
>

That's one objection. The other problem is that the size of the items in the
list would either have to be very small to accommodate the whole list, or,
if you wrap it in a scroll view, require scrolling in every direction just
to navigate the thing as sub-nodes expand.

The benefit of a JTree type control is it presents a simplified overview of
a complex hierarchy. On a mobile platform, you mostly lose that simplified
overview and it can result in more complexity and confusion.


> I guess I'll have to abandon my project until a tree view of some
> kind makes it to Android, as I don't want to use menus as suggested in
> the link;
>

If you're abandoning your project because one type of control is not
available, your project was not worth doing to begin with.

If you're going to wait until it makes it to Android, you're probably going
to waiting quite a long time.

If you think this type of control would actually be usable / preferable for
you project, there is absolutely nothing stopping you from writing your own
custom view and adapter that meets your needs.

it would be too klunky, IMO.
>

No more so than trying to navigate an entire tree on a single screen with
the size, scrolling, and selection issues it would present.

Good luck with your project, if you decide to continue it.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to