java - Notify other activities of the same application to finish it self from one activity -
i'm working on application have 5 activities , of activity can access other 4. in 1 of activities have finish
button should put application on background thread. want notify other activities call finish()
, , have 2 ideas in mind. 1 using intent
other using interface
i'm little confused decide on way should go?
are there other way notify activities on same application event of 1 activity?
thanks
why don't call ((activity) context).finish();
context
context of activity want call finish()
on.
Comments
Post a Comment