I want to work with the selected row of a Table when the device is a touch one in the pointerPressed method , and what I get is a wrong value : for example I clicked the third line ( PS : the header line is -1 ) and I got 0 as a value in the System.out.println ! And when I click another row then I get the row I selected before !
So how to synchronize LWUIT with the selected row ?
I want to work with the selected row of a Table when the device
Share
Ok , I found the solution : in the constructor I wrote :
And here are the implemented methods :