During runtime I'm able to add elements to a List using getResultList().append(String str). But how do I attach commands to these newly added elements so they do something when selected? The List type I'm using is IMPLICIT.

The reason I'm asking is because my app needs to dynamically create screens based on the data it receives from the mobile network.

Thanks in advance!