HiHo!
On Thu, 2009-12-31 at 12:40 -0800, Brion Emde wrote:
> The method onListItemClick(), which is maybe what you're asking about,
> is a protected method in ListActivity.
No, I am not asking that. I ask:
> > device -> kernel driver -> dalvik VM -> my app.
> >
> > Could someone please tell me the exact code that calls onItemClick()
> > when I click on the item through the device?
I expect something like:
a_file_in_kernel_for_ListView.c:
...
if (interrupt_from_device) {
o = getObjectHitByPointer ();
}
...
for (i = 0; i < listenerCount; i++) {
onItemClickObjects[i].getOnItemClickListener().onItemClick(
getParentOfThisRow(onItemClickObjects[i]),
getRowOfThisListener(onItemClickObjects[i]
.getOnItemClickListener()),
positionOfThisRow,
idOfThisRow
);
}
--
Best regards,
Eus (FSF member #4445)
In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.
Join free software movement today! It is free as in freedom, not as in
free beer!
Join: http://www.fsf.org/jf?referrer=4445
--
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