简体   繁体   English

根据 Android App 中的用户输入制作表格

[英]Make a table from user input in Android App

I am currently making an expense tracker on Android Studio.我目前正在 Android Studio 上制作费用跟踪器。 it is my first time so I'm not too experienced and am not expecting a fully coded answer, but maybe some guidance as I have not been able to find any resources online for my particular question.这是我的第一次,所以我不是太有经验,也不期待一个完全编码的答案,但也许是一些指导,因为我无法在网上找到任何资源来解决我的特定问题。

So I know how to get user input, which in my case would be something like Amount Spent: and Location ... etc. The only thing I am not familiar with is how to add/append this data to a table in Android.所以我知道如何获取用户输入,在我的情况下,这类似于Amount Spent:Location ... 等。我唯一不熟悉的是如何将此数据添加/附加到 Android 中的表中。

For example, the table would look like this:例如,该表如下所示:

桌子

The user input would then be added to the table depending on the header.然后将根据 header 将用户输入添加到表中。

I hope it will be helpful for you although in your post there is a few lack of description我希望它会对你有所帮助,虽然在你的帖子中有一些缺乏描述

Adding Table rows Dynamically in Android 在 Android 中动态添加表行

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

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