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