方向变更性能问题-codenameone
当android中的方向发生变化时,本机android会调用销毁方法,据我所知,将进行全新的布局。但我认为codenameone不能做到这一点,这是一件伟大的事情。但当我在设备中检查cn1应用程序时,从纵向切换到横向,一个空白屏幕出现了一段时间,然后方向发生了变化方向变更性能问题-codenameone,codenameone,Codenameone,当android中的方向发生变化时,本机android会调用销毁方法,据我所知,将进行全新的布局。但我认为codenameone不能做到这一点,这是一件伟大的事情。但当我在设备中检查cn1应用程序时,从纵向切换到横向,一个空白屏幕出现了一段时间,然后方向发生了变化 My Problem is that when I have many more components displayed in a form, the blank screen appears for a longer durati
My Problem is that when I have many more components displayed in a form,
the blank screen appears for a longer duration and sometime it hangs. Does it
happen as I don't use Orientation listener methods etc or is there anything I
can do to solve this issue?
我刚刚在我的设备上试用过,它在我的安卓6设备上的最新版本中运行良好。有来自Android的旋转动画,屏幕旋转到新的位置 我猜你的屏幕渲染速度太慢了,以至于安卓需要太长的时间来绘制,最终只能绘制一个黑屏,这样它才能继续动画
我无法对应用程序进行远程基准测试,但我建议并确保它真正经过优化。在我的设备上,它的行为也与此类似。