how to stop activity from another activity

Solutions on MaxInterview for how to stop activity from another activity by the best coders in the world

showing results for - "how to stop activity from another activity"
Enes
06 Sep 2019
1public static Activity fa;
2onCreate()
3{
4    fa = this;
5}
Elia
08 Jul 2017
1onCreate()
2{
3    FirstActivity.fa.finish();
4}