[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 docs, the blog, watch the google I/O videos, then maybe I'll
answer some more intelligent questions.

-theSmith

On Jan 7, 2:30 am, Manoj  wrote:
> Sir I am doing the same thing what you are tell but i am not getting
> the way tousethe 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 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 knowledge of the android 
> > documentationhttp://developer.android.com/guide/index.html
> > There are plenty of examples that will help you get started.
>
> > -theSmith
>
> > On Jan 6, 3:47 am, Manoj  wrote:
>
> > > Hi,
> > > I am new for Android development. I want touse"Object> > 
> > > android.widget.AdapterView.getItemAtPosition(int position)" method for
> > > getting the items from ListView. But I am not getting the way to make
> > > it happen.
> > > Please help me out on this topic.
-- 
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

[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 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 knowledge of the android 
> documentationhttp://developer.android.com/guide/index.html
> There are plenty of examples that will help you get started.
>
> -theSmith
>
> On Jan 6, 3:47 am, Manoj  wrote:
>
> > Hi,
> > I am new for Android development. I want to use "Object
> > android.widget.AdapterView.getItemAtPosition(int position)" method for
> > getting the items from ListView. But I am not getting the way to make
> > it happen.
> > Please help me out on this topic.
-- 
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

[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 knowledge of the android documentation
http://developer.android.com/guide/index.html
There are plenty of examples that will help you get started.

-theSmith

On Jan 6, 3:47 am, Manoj  wrote:
> Hi,
> I am new for Android development. I want to use "Object
> android.widget.AdapterView.getItemAtPosition(int position)" method for
> getting the items from ListView. But I am not getting the way to make
> it happen.
> Please help me out on this topic.
-- 
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