简体   繁体   English

在 Flex 移动应用程序中显示可滚动图片网格的最佳方法

[英]Best approach to displaying a scrollable grid of pictures in Flex Mobile App

In a Flex Mobile Application, I have a situation where I need to dynamically display a grid of like 50X50 pictures that can be scrolled though.在 Flex 移动应用程序中,我需要动态显示可以滚动的 50X50 图片网格。 The pics are stored in a mysql database.图片存储在 mysql 数据库中。

I don't really know enough about the DataGrid or the TileLayout.我对 DataGrid 或 TileLayout 的了解还不够。 Or if anyone knows of any other classes I should be reading up on to better solve this issue.或者,如果有人知道任何其他课程,我应该继续阅读以更好地解决这个问题。

So, Basically like I said, I'm looking for any Flex/Actionscript-3 Class Ideas, examples, tutorials, ideas, feedback or anything to get me pointed in the right direction for this issue.所以,基本上就像我说的那样,我正在寻找任何 Flex/Actionscript-3 Class 想法、示例、教程、想法、反馈或任何让我为这个问题指明正确方向的东西。 I'm really stumped on how I can/should be doing this.我真的很难过我怎么能/应该这样做。

Simple enough:很简单:

<fx:DataGroup dataProvider="{yourImageURLs}" width="100%" height="100%"
   itemRenderer="yourCustomImageRenderer">
   <fx:TileLayout requestedColumnCount="2" />
</fx:DataGroup>

That should get you started.那应该让你开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM