On Fri, Feb 5, 2010 at 11:22 PM, warrior <chandu.ku...@gmail.com> wrote:

> Now my ques is can i display each item in the List differently?
> I mean to say that for the first item in the list i need the details
> and the other items i just need one text view.
>      how can i achieve this..?
>

I haven't used it but I think the ListView has a headerView you can set
that's different that the main contents. Maybe that will work?
Or you can make a custom adapter and override the getView() function to
return the appropriate view for the position you're interested in.

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

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