How do I close, finish, end a Activity
, after executing a method?
In my project, I have two Activitys:
- MainActivity
- EditorActivity (Performs some simple tasks)
I would like to end it, after calling the last method that completes its task and thus, when it finishes, return to the main Activity.