android-beginners  

[android-beginners] Method called when hilighting a ListView item

Gérald Gounot
Thu, 18 Mar 2010 14:43:48 -0700

Hello there,

I implemented an activity by extending ListActivity. In this class, I
overrided onListItemClick() in order to perform some actions when the
user clicks on list items. There is no problem about that.
Nevertheless, I'd like to perform actions when the user only focus an
item. In fact, my goal is to enlarge the new focused item.

I tried onItemSelected() from the AdapterView.OnItemSelectedListener
interface and onFocusChanged() from AbsListView() but both don't seem
to be called.

After many searches, I was not able to find the solution. I thought it
would be straightforward...

Can you help me about that?

Many thanks!

--
Gérald Gounot

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.
  • [android-beginners] Method called when hilighting a ListView item Gérald Gounot