سؤال

I have a List in LWUIT. My problem is this. When I press FIRE key in one of the elements of the List,the selected item changes an attribute so the model of the Listchange, and when I try to continue going down the Listlose the focus.

I try to reload the new model, to repaint the Form, to repaint the List, but nothing seems to work. I always lose focus when I change the model.

What can I do?

هل كانت مفيدة؟

المحلول

Use myList.setHandlesInput(true); in your event code.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top