In Codenameone, I used the list as a means of displaying the container to form, and after parsing the JSON data using hastable, I showed the results on the list items. The list contains hastable has been passed over ListModel and it works fine. Whenever I use ListModel , I just want to click a list item and action triggers. The problem is using ListModel , it only has
datalist.addSelectionListener(new SelectionListener() { public void selectionChanged(int oldSelected, int newSelected) {
I will not be able to scroll the whole page due to the selection on any element, this causes an action. Any option, how can I scroll the whole results on the page as well as onClick so that I can trigger the action?
source share