简体   繁体   English

如何从另一个活动一个一个地调用 ArrayList 项目?

[英]How to call ArrayList items one by one from Another Activity?

I am new to Android development.我是 Android 开发的新手。 I used listview with edittext in an activity and I want to call edited listview items one by one in order in another activity.我在一个活动中使用了带有编辑文本的列表视图,我想在另一个活动中按顺序一个一个地调用编辑过的列表视图项目。 How can I do this?我怎样才能做到这一点?

How can I use listview items added by users for another activitiy.如何将用户添加的列表视图项用于其他活动。 For example in my first activity, users add names as much as they want, in second activity, I should display first item added in textview then second item added in textview then third etc. Unfortunately, there is no code.例如,在我的第一个活动中,用户可以随意添加名称,在第二个活动中,我应该显示在 textview 中添加的第一个项目,然后在 textview 中添加第二个项目,然后是第三个等等。不幸的是,没有代码。 I ll just start.我就开始吧。 Thanks a lot非常感谢

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

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