android.widget.GridView
public void setSelection (int position) Since: API Level 1 Sets the currently selected item Parameters position Index (starting at 0) of the data item to be selected. If in touch mode, the item will not be selected but it will still be positioned appropriately. On Wednesday, August 22, 2012 1:17:27 PM UTC-5, Narendra Singh Rathore wrote: > > Hi all, > Please let me know how to view / focus the last item of the gridview on > some event, in case there are a lot of items in the gridview > > For example, I have 100 items in my gridview, and currently 1st item is > having focus. I want to view the last (100th) item, on some event (*without > scrolling*), say click event. > Please direct me how to do that. > > Thanks n Regards, > NSR > -- 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

