添加应用程序发明家应用中的新名单 [英] Adding new lists within app inventor app

查看:257
本文介绍了添加应用程序发明家应用中的新名单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有在应用发明,并列出有点尴尬。
我曾希望产生用户输入的值的列表。
对于eample - 用户输入书名文本框,出版年份,作者和ISBN。
我想创建一个ISBN为列表编号列表。

I'm having a bit of awkwardness in App Inventor and lists. I had hoped to generate a list for a user entered value. For eample - a text box the user enters Book title, publication year, author, and ISBN. I would like to create a list with the ISBN as list number.

如何可行/实际是这样吗?

How feasible/practical is this?

添加物品X,Y,Z向(previously不存在)的ISBN列表不起作用。

Add items x,y,z to (previously non-existent) ISBN list does not work.

我目前正试图用一个空列表Lis​​t1中,列表2等被sequentlially充满但这是不太理想的工作周围

I'm currently trying a working around with empty lists List1, List2, etc that are filled sequentlially but this is less than ideal.

推荐答案

这是非常可行的/实用。你必须使用2列出:listISBN存储您的ISBN和另一个列表,我们称之为listDetails存储详细数据的子列表搜索结果要保存数据,使用两个的项目添加到列表块,见截图:

This is very feasible/practical. You have to use 2 lists: listISBN which stores your ISBN and another list, let's call it listDetails which stores sublists of the detail data.

To save the data, use two add items to list blocks, see screenshot:

要从您的列表中选择的项目,用的选择列表项块。

To select the items from your lists, use the same list index together with select list item blocks.

更多关于名单这里,也见的这里第19章

More about lists here, also see chapter 19 here

这篇关于添加应用程序发明家应用中的新名单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆