开发者

What is an easy way to make a selectable uitable for blackberry?

开发者 https://www.devze.com 2023-03-12 15:45 出处:网络
I am n开发者_C百科ew to blackberry development.I miss my iphone uitableviews. If there anything similar for the blackberry?It needs to hold a variable amount of cells and the cells need to be selectab

I am n开发者_C百科ew to blackberry development. I miss my iphone uitableviews. If there anything similar for the blackberry? It needs to hold a variable amount of cells and the cells need to be selectable which will look a new view. I was looking at ListField but I can't figure out how to actually load the cells.


This site has a good example you can pick apart -> http://developerlife.com/tutorials/?p=898

The one thing you will need to add to MyListField

protected boolean navigationClick(int status, int time) {

    // Push screen 
    MyScreen myScreen = new myScreen();
    UiApplication.getUiApplication().pushScreen( myScreen );

}

This will catch that click or touch event

0

精彩评论

暂无评论...
验证码 换一张
取 消