Represent Graphically a Tree

by Jordan » Mon, 04 Apr 2011 22:06:24 GMT


Sponsored Links
 What would be the best way to represent a data tree graphically?

I've thinked to use a multi level TextView, but these levels are
implemented into ListView or I must implement them into my code?

Like a File Manager, wich the filesystem is the tree structure and the
directory and files are the items. I want to navigate inside my tree
pressing the items to go to the next level and back button to go back
to the previous tree level.

Is there something to use out of the box for doing this?

Thanks

-- 



Re: Represent Graphically a Tree

by TreKing » Tue, 05 Apr 2011 00:48:55 GMT


 




ExpandableListView?

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

-- 


Sponsored Links


Re: Represent Graphically a Tree

by Jordan 5222 » Tue, 05 Apr 2011 00:58:10 GMT


 Expandable ListView can only have 2 levels I think.

Jordan -  http://www.lulz-industries.org/ 
Il giorno 04/apr/2011 18:49, "TreKing" <treking...@gmail.com> ha scritto:

-------------------------------------------------------------------------------------------------

-- 



Re: Represent Graphically a Tree

by Kostya Vasilyev » Tue, 05 Apr 2011 01:03:41 GMT


 Yes. But it's built on top of ListView, which is very well documented. Since
the OP already has a tree data structure, it should be quite easy to build
something similar, but with an arbitrary number of levels (if needed).

-- Kostya

2011/4/4 Jordan 5222 <trolldr...@lulz-industries.org>



-- 



Re: Represent Graphically a Tree

by Jordan 5222 » Tue, 05 Apr 2011 01:15:55 GMT


 I ll give it a look.

Also other ideas?

Thanks

Jordan -  http://www.lulz-industries.org/ 
Il giorno 04/apr/2011 19:04, "Kostya Vasilyev" <kmans...@gmail.com> ha
scritto:
Since

-------------------------------------------------------------------------------------------------

-- 



Re: Represent Graphically a Tree

by TreKing » Tue, 05 Apr 2011 01:20:11 GMT


 On Mon, Apr 4, 2011 at 11:52 AM, Jordan 5222 <trolldr...@lulz-industries.org





Extend it and add your own functionality.

You probably don't want to nest too deeply anyway considering the screen
limitations on mobile devices.

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

-- 



Other Threads

1. How to open new sub activity by item of ListView......

I want to set SubActivity on the item of ListView.please guide me how
i do it...i am new in android......

--~--~---------~--~----~------------~-------~--~----~

2. HessianProxyFactory Problem

While importing external hessian to replace webservice, I have
application crashes if I use the library from
anyone encountered error if code below wrote

com.caucho.hessian.client.HessianProxyFactory

HessianProxyFactory factor = new HessianFactoryProxy();


 WARN/dalvikvm(196): Link of class 'Lcom/caucho/hessian/client/
HessianProxyFactory;' failed

WARN/dalvikvm(196): VFY: unable to resolve new-instance 76 (Lcom/
caucho/hessian/client/HessianProxyFactory;) in Lcom/android/vaka/ui/
LoginPage;

 WARN/dalvikvm(196): VFY:  rejecting opcode 0x22 at 0x001c



--~--~---------~--~----~------------~-------~--~----~

3. ADT - Eclipse

4. Seek Bar Problem

5. Cool Apps for weddings

6. Utterly confounded trying to create horizontal scrolling

7. Ordering the European version of the dev phone in the US?