单击按钮后更改其他活动的编辑文本 [英] changing an edit text from another activiy after clicking a button

查看:76
本文介绍了单击按钮后更改其他活动的编辑文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧所以我是编程的新手,对于一个学校项目,我必须在android工作室制作一个咖啡店应用程序。



我想知道什么,如何在点击按钮后,编辑文本空间以添加有关他们将购买的项目的文本,但将其放入另一个活动中。



事情是我想制作一种添加到购物车的东西,在进入购物车标签后,有一个编辑文本,你可以看到该帐户的金额。



任何人都可以帮我这个吗?

Okay so I'm new at programming, and for a school project I have to make a coffee shop app in android studio.

What I want to know, is how can I after clicking a button, edit a space for text to add text about the item they will buy but place it in another activity.

The thing is I want to make a kind of add to cart thing, and after going to the cart tab, there is an edit text where you see how much the account will be.

Can anyone help me with this??

推荐答案

不,一个大号。

家庭作业不能在这里完成。 />
如果你希望我们做你的功课,那就行不通了。这背后有一个很好的理由:你不会学到任何东西,如果你希望别人为你工作。



你可以尝试一开始就是你自己的东西当你卡在任何地方时,来自这里的任何人都会竭尽全力帮助你。



阅读代码项目快速解答常见问题解答 [ ^ ] first :)



-KR
No, a big no.
Homework can't be done here.
If you expect us to do your homework, that's not going to work. There's a pretty good reason behind this: "You won't be learn anything, if you expect others do your work for you".

You can try something on your own at first and when you stuck anywhere, anyone from here would do his/her best to help you out.

Read the Code Project Quick Answers FAQ[^] first :)

-KR


这篇关于单击按钮后更改其他活动的编辑文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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