一个listview数据比较多,用哪个API可以使焦点定位在制定的index上,还有滑动条如何设置像sina微博的滑动条一样?

解决方案 »

  1.   

    public void setSelection (int position) 
    Since: API Level 1 Sets the currently selected item. If in touch mode, the item will not be selected but it will still be positioned appropriately. If the specified selection position is less than 0, then the item at position 0 will be selected.Parameters
    position  Index (starting at 0) of the data item to be selected. 
      

  2.   

    javaeye里面有相关文章 but 打不开了