I'm already using ListView.setSelection(int position) in order to "hide" firsts headers on the first display of my activity, but the scrollbar begins at the first header, not at the first "real" item. Thanks
On Nov 23, 2:07 pm, pedr0 <[email protected]> wrote: > You can use this function: > > http://developer.android.com/reference/android/widget/ListView.html#s...) > > ListView.setSelection(int position) > > It works? > > On 23 Nov, 13:33, Prateek Jain <[email protected]> wrote: > > > > > > > > > Hi, > > > I think headers are the part of ListView (therefore 1st ListView > > item), so you cannot make scrollbar at the top when the focus is on > > the the next item. No so sure though. > > > Cheers, > > Prateek > > > On Nov 18, 5:30 pm, lou <[email protected]> wrote: > > > > Hi ! > > > I'm actually working on a ListView, which have two headers. > > > The problem : the scrollbar starts to the first header, so when I'm on > > > the first item, the scrollbar isn't at the top. > > > Any idea? > > > Thanks a lot. -- 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

