For example, I have an inteface View.OnClickListener implemented in MainActivity class:
public class MainActivity implements View.OnClickListener {
@Override
void onClick(View var1){
// do things
}
}
Later it is used using this :
btn.setOnClickListener(MainActivity.this);
I want to locate just the code which use the OnClickListener of MainActivity . Does Intellij have a function to do that?
您可以按住 ctrl,然后左键单击该方法。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.