What is the best way to display a large amount of text (5000-10000 words) in a Flex mobile app?
在Flex移动应用程序中显示大量文本(5000-10000字)的最佳方法是什么?
I have been loading text in through an xml file using itemrenderer. It works totally fine when I run the application on my PC but when I load it onto my Android phone it crashes. Looks like my phone can only handle loading in about 3000 words using this method without crashing.
我一直在使用itemrenderer通过xml文件加载文本。当我在我的电脑上运行应用程序时它完全正常,但是当我将它加载到我的Android手机上时它会崩溃。看起来我的手机只能使用这种方法处理大约3000字的加载而不会崩溃。
Anyone have a suggestion? Also, HTML isn't going to work for me. I want the text built into the application, which is why I have been trying to use the xml file.
有人有建议吗?此外,HTML不适合我。我想在应用程序中内置文本,这就是为什么我一直在尝试使用xml文件。
Thanks!
谢谢!
1 个解决方案
#1
1
To just display a lot of text, I recommend using a TextArea.
为了只显示大量文本,我建议使用TextArea。
There is no need to deal with DataGroups and itemRenderers unless you have a specific need for a list based approach.
除非您特别需要基于列表的方法,否则无需处理DataGroups和itemRenderer。
#1
1
To just display a lot of text, I recommend using a TextArea.
为了只显示大量文本,我建议使用TextArea。
There is no need to deal with DataGroups and itemRenderers unless you have a specific need for a list based approach.
除非您特别需要基于列表的方法,否则无需处理DataGroups和itemRenderer。