当我单击弹出菜单中的ListField时,它给出了此异常"已记录已弃用的 API 访问:UiApplication.popScreen()"
您正在使用已弃用的方法。使用 UiApplication 的 popScreen(net.rim.device.api.ui.Screen) 代替 popScreen()
。
public final void popScreen(Screen screen)
从显示堆栈中删除屏幕,并更新屏幕。
指定者:
界面
UiEngine
中的popScreen
参数:
screen
-Screen
删除。抛出:
IllegalArgumentException
- 如果您的屏幕不在堆栈上。