I have created LWUIT Tabs ,when the user clicks on any tab, I want to execute some logic,the logic output will be some list of items,but the problem is when the user clicks on the tab again. My tab related logic is executing continously. I want to stop that,for that I want to place if condition, that should check my list contains values or not,can any one what should be the method I need to use?
myList.getModel().getSize() > 0