What is the best way to do this?

Extend the ListView...or the adapter?

Or is there are more efficient way?

On Nov 19, 3:07 am, jeffro <[email protected]> wrote:
> You need to implement the Adapter method to pass the id value you
> want:
>
> public long getItemId(int index) {}
>
> On Nov 18, 7:17 am, jax <[email protected]> wrote:
>
> > How do you set the Id attribute for a SimpleAdapter so that when you
> > run
>
> > onItemClick(AdapterView<?> parent, View view,int position, long id)
>
> > I will be able to get the id?
>
> > The data is coming from an XML file.
>
>

-- 
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

Reply via email to