Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在startApp()MIDLet 中,我显示了一个 Form(应用程序的主 Form)。问题是即使我设置setTransitionInAnimator了转换在运行时也不会生效!那么如何从 MIDLet 为第一个打开的表单进行转换?
startApp()
setTransitionInAnimator
转换适用于 2 个组件/表单,因此第一个表单永远不会有转换,因为没有什么可以转换的。例如,闪屏永远不会滑入它只会出现的位置。
要实现转换,只需创建一个空白表单并对其应用转换输出,我建议避免该策略,因为没有设备执行这样的转换。执行转换以显示初始表单的设备(例如 iPhone/Android)在适用于 LWUIT 应用程序的本机层中执行此操作。