[android-developers] Re: Creating a JTree-like widget for Android?

2010-08-28 Thread FractalBob


On Aug 27, 8:08 am, TreKing treking...@gmail.com wrote:
 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.
The project is definitely worth completing, but it's discouraging to
not have a slick interface unit like a tree available. However, I'll
think about alternatives in the meantime.

 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.
Ummm...I think I'll pass on that!

 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


[android-developers] Re: Creating a JTree-like widget for Android?

2010-08-27 Thread FractalBob
Thanks for the pointer. 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.

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; it would be too klunky, IMO.

On Aug 26, 4:58 pm, TreKing treking...@gmail.com wrote:
 On Thu, Aug 26, 2010 at 12:56 PM, FractalBob ruom...@gmail.com wrote:
  Does anyone know if it's possible to extend this to an arbitrary number
  of levels?

 See this recent 
 thread:http://groups.google.com/group/android-developers/browse_thread/threa...

 --- 
 --
 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


Re: [android-developers] Re: Creating a JTree-like widget for Android?

2010-08-27 Thread TreKing
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