thanks xingye. Something to look into.
On Apr 8, 8:42 pm, xingye <[EMAIL PROTECTED]> wrote:
> Perhaps grid is better for this job.
>
> On 4月9日, 上午5时07分, Redhunt <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > After some work I was able to get the custom items on a ListView
> > working. Very cool stuff.
> > I have a quesiton about click events.
> > My custom list item view has 2 imageViews and a TextView.
>
> > On the listView I capture onItemClick(AdapterView parent, View v, int
> > position, long id)
>
> > And everything works great.
>
> > But what about the possibility of finding out what actual view inside
> > the custom list item view the user clicked on?. Did he click on an
> > image, on the text ...
>
> > I looked at v View passed in to the above method, but that tells me
> > that the user clicked on the LinearLayout which is the base view for
> > the cutom item so no help there.
>
> > Note, It is important that when I capture the event I know what item
> > (position) object was clicked.
>
> > Any thoughts.
>
> > Thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---