Every use of super

-1

I have a question, how does it work

FullImageActivity.super.onBackPressed();

I have it in an onClickListener

    
asked by Javier fr 24.11.2016 в 18:37
source

1 answer

1

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.

    
answered by 02.12.2016 в 04:59