OnBackPressed how to find out what activity a user is coming from?
Guys, please tell me, is there a way to programmatically determine what activity the user pressing the Back button (onBackPressed)
Ie for example there is one main activity and 5 PCs child so to speak.
The user moves from the home to the child and then turns back. And I need to determine what a child he came to update the content in the main activity according to the changes in the child.