Answer the question
In order to leave comments, you need to log in
How to intercept the actions of someone else's activity?
My app launches an activity from a linked library. Those. it opens, which I do not like how it works. In particular, the back button. I would like to be able to intercept the return method call from an activity in a linked library. How can I do that? The activity there is not mine at all, I literally write: PseudoLib.showMegaBoom() and an activity appears from which others open, etc.
Answer the question
In order to leave comments, you need to log in
Inherit the necessary classes, incl. launched activity, and overwrite the necessary methods.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question