Hi, I needed some sort of tree view for my application to show the content of a media server. After some thoughts I decided to use multiple list views with an animation. If you have a media server in your network you can have a look at AndroMote in the market (www.andromote.de)
And yes I tried to write some code that should be reusable. As I have to reload things on the fly, I didn't really succeeded here, but I think the code is not to bad. If you think by looking at the application it is something you are looking for, I can provide you the code of my so called DirectoryActivity. Mirko On 12 Mai, 22:39, "Mark Murphy" <[email protected]> wrote: > > does anybody knows how to implement a treeView in android? > > > I am reading about ExpandableListView and it's not exactly what I > > need, as it seems it has only 2 levels... > > > I need a proper treeView that I can add items to in runtime > > There is no built-in tree-view widget in Android, beyond > ExpandableListView. In part, I suspect that is because trying to implement > a finger-friendly tree in a small screen size would be difficult. > > However, you are welcome to examine the source code for ExpandableListView > and take a shot at making a tree view widget. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

