NullPointerException
NullPointerException

Reputation: 37733

Which function I have to call on a Cancel button in a user interface (activity)?

I have various activitys on my app. I have a configuration Activity, and I want to put a cancel button, that, when user press this button, the configuration window get's closed and turn back into the previous activity.

I found something about calling cancel or dismiss functions, but I can't call them cause this is not a dialog, it's an activity.

Upvotes: 0

Views: 2908

Answers (1)

kgiannakakis
kgiannakakis

Reputation: 104198

You can finish an activity.

Upvotes: 2

Related Questions