0
How to close, finish, finish a Activity
, after executing a method?
In my project, I have two Activitys:
- Mainactivity (Home, Home screen)
- Editoractivity (Performs some simple tasks)
I would like to finish it, after calling the last method that completes her task and so, at the end, return to the main Activity.
Utilize Finish
– Valdeir Psr
I had not read in the documentation. I was trying to do as follows
MainActivity.class.finish;
orthis.finish;
. Anyway thanks.– Nakamoto