It works and looks great, Thanks for your post. And i found it is important to understand the Adapter class, if you master this class it is easy to do erverything you want to make a beautiful UI.
Please make a tutorial about Adapter and howto extend it. It is useful to make up a extendListAdapter to dynamicly provide images, text, and also some buttons on it. Hope for your additional tutorial, Thanks again. BR, Luke Wang Dwight L. Moody - "I have had more trouble with myself than with any other man I've met." On Wed, Sep 17, 2008 at 6:42 AM, Francisco <[email protected]> wrote: > > I have been playing with the example and it seems a little confusing > to me, im new to android and im not that good at java, i understand > certain parts of the code but not all. > I wanted to ask if you know, how to change and image, for example, > instead of having only to TextViews to change as in the example we > have an Icon picture, a text view and another textview. > > This if an acvities list that will show: > > Image | Descrition of Activity |Time of the activity > > But i dont know what part of the code is the best part to pull the > ImageView view to add the icont i want. Any ideas? > > Also i would like to ask you if you could give a little more detailed > description of the methods implemented in the Separated List Adapter, > for example the getItem, getViewTypeCount, getItemViewType and such. > > Thanks for your time in advance. > > Paco Garcia > > > > On Aug 18, 4:46 pm, Jeffrey Sharkey <[email protected]> wrote: > > In the new 0.9 SDK, you might have seen ListViews split into sections > > using grey header bars with text in them. (Such as the browser > > settings list.) This is an excellent UI tool, and can really help > > organize activities. > > > > Since there isn't an "official" way of creating these sectioned lists, > > I've put together an abstract way of stitching together multiple > > Adapters into a single header-ized Adapter. > > > > Example screenshots and code are posted here: > http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers... > > > > Let me know if anyone finds a better way, but this is a start for > > now. :) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

