Hi Bob, could you separate your problem from the rest of your project and send a new project to us demonstrating the problem? It's getting kinda hard to look at the code from the little snippets you are posting.
Best regards, Filip Havlicek 2010/11/7 FractalBob <[email protected]> > I did; it didn't help. > > I also went back and changed my code a little bit: > > public class NewsChannel implements OnClickListener, OnKeyListener { > . > . > . > > news_channel_text = > (TextView)news_content.findViewById(R.id.news_channel_text); > news_channel_text.setOnClickListener(this); > news_channel_text.setOnKeyListener(this); > . > . > . > public void onClick(View v) > { > log.debug("Click event"); > } > > public boolean onKey (View v, int keyCode, KeyEvent event) > { > log.debug("onKey"); > return true; > } > } > > and set breakpoints in each listener. The breakpoint gets hit in > onCLick() (as it always had), but never in onKey(), even if I unset > the OnClickListener. > > I've been struggling with this problem for nearly a week now and it's > driving me nuts. > > > > On Nov 4, 3:03 pm, Filip Havlicek <[email protected]> wrote: > > Try removing the listener from TextView(s) and see if that makes any > > difference. > > > > 2010/11/4 FractalBob <[email protected]> > > > > > > > > > > > > > > > > > However, I don't implement any interfaces; is the the problem? If so, > > > what should I implement? > > > > > On Nov 4, 11:09 am, Kumar Bibek <[email protected]> wrote: > > > > Have you set your list items to be focussable? Mean are some of your > > > views > > > > in your item layout focussable? > > > > > > On 04-Nov-2010 11:35 PM, "FractalBob" <[email protected]> wrote: > > > > > > I think the reason it's still not working is because I'm not sure > what > > > > interface onListItemClick implements, so I tried > > > > > > public class NewsListActivity extends ListActivity implements > > > > OnClickListener > > > > > > and I implemented onClick, to no avail. > > > > > > Anyone know what I should specify for implements? > > > > > > On Nov 4, 6:29 am, FractalBob <[email protected]> wrote: > > > > > > > Thanks for your suggestion, Filip. I a... > > > > > -- > > > 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]<android-developers%[email protected]><android-developers%2Bunsubs > [email protected]> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

