Mun0n
Mun0n

Reputation: 4437

LWUIT List with changed ListModel

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?

Upvotes: 1

Views: 453

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

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

Upvotes: 4

Related Questions