Android的 - 模拟后退按钮按钮、Android

2023-09-05 07:03:47 作者:回忆掀起了疼痛

当我preSS在我的应用程序的一个按钮,我需要回到过去的活动。

When i press a button in my app, I need to return to the last activity.

任何想法?

推荐答案

调用完成()从你想结束应该照顾这个活动。

Calling finish() from the activity you want to end should take care of this.