怎么在List控件里按OK键等同于按左软键

如何在List控件里按OK键等同于按左软键?如何在List控件里按OK键等同于按左软键?[解决办法]setSelectComman

如何在List控件里按OK键等同于按左软键?
如何在List控件里按OK键等同于按左软键?

[解决办法]
setSelectCommand(Command command) 
Sets the Command to be used for an IMPLICIT List selection action.