How do I hide data/field in a List in J2ME
- by pi
Hi, I am working on a J2ME app which has dynamically generated Lists. Items on this list may be consequently selected, and the selection processed within the commandAction block.
Is there a way to have the IDs of variables populating the List (from a remote database) included in the List item definition as in:
this.append("A", null);
this.append("B", null);
or:
String[] arrayOfValues = {"A", "B"};
new List("Menu", List.IMPLICIT, arrayOfValues, null);
such that when an item is selected, perhaps A, I can also have its database ID for perhaps further processing. Is it possible to hide a field/data? Thanks.