I have a question, how does it work
FullImageActivity.super.onBackPressed();
I have it in an onClickListener
I have a question, how does it work
FullImageActivity.super.onBackPressed();
I have it in an onClickListener
When the keyword super
is used, the closest implementation that is inherited from the called method is being called, in your case the onBackPressed
method. You can learn more at the Java documentation on the subject.