[android-developers] Re: How to use the "Object android.widget.AdapterView.getItemAtPosition(int position)"

2010-01-07 Thread theSmith
If the CheckBox is inside an AdapterView then you can cast the Object returned by getItemAtPosition() to a CheckBox, other wise if it is a view then you really should be using view holders to cut down on execution times. I am NOT here to read the android docs to you. Go do it yourself. Read the do

[android-developers] Re: How to use the "Object android.widget.AdapterView.getItemAtPosition(int position)"

2010-01-06 Thread Manoj
Sir I am doing the same thing what you are tell but i am not getting the way to use the returned object by getItemAtPosition() to get the checkbox which is a item in list. On Jan 7, 10:53 am, theSmith wrote: > Manoj, > > I'm not sure if I understood you correctly, but I believe you are > looking

[android-developers] Re: How to use the "Object android.widget.AdapterView.getItemAtPosition(int position)"

2010-01-06 Thread theSmith
Manoj, I'm not sure if I understood you correctly, but I believe you are looking for getViewById(R.id.whatever); cast the result to a ListView, then call getItemAtPosition. also there is a group for android beginners. http://groups.google.com/group/android-beginners P.S. Please brush up on your