适用于 Android 的 Flex 多页表单
我想在新发布的 Adobe AIR 上使用 Flex 多页表单安卓平台。我的表单上有一系列 30-40 个屏幕,用户可以在中间退出(存储输入的部分数据)。是否有一个示例应用程序,或者有人可以告诉我构建这样一个具有大量视图的应用程序的架构?我想将数据存储在设备上(sqlite)以及远程网络服务器。 我找到的最接近的帮助是这里
I want to use a flex multi-page form on thew newly released Adobe AIR for android platform. I have a sequence of 30-40 screens on the form and the user can exit in between(storing the partial data entered). Is there a sample application for this, or can someone tell me the architecture to build such an application with lots of views? I want to store the data both on the device(sqlite) as well as a remote web server.
The closest help I found was here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
架构取决于您尝试实现的解决方案。在这种情况下,就像在某个地方拥有一个集中式数据模型一样简单,该模型可以在每个视图上绑定或设置数据,以便可以在所有视图中重用该数据。
如果我是你,我会使用 RobotLegs 来使用依赖注入来完成此任务,因为它为更复杂的情况打开了大门未来的建筑情况。
Architecture is up to the solution you're trying to implement. In this case, it's as simple as having a centralized data model somewhere that either binds or sets the data on each view so that it can be reused across all views.
If I were you, I'd look at RobotLegs to accomplish this using dependency injection since it leaves the door open for more complex architectural situations in the future.
不会有任何例子可以完全做你想要的事情。不过,有一些适用于 Android 的 Flex 教程。以下是一些可以帮助您入门的内容:
There aren't going to be any examples out there to do exactly what you want. There are several Flex for Android tutorials out there though. Here are a few to get you started: