Methods Used on Android

Asked 1 years ago, Updated 1 years ago, 39 views

If you create a method and do not use it, it will appear gray.

For example,

public class example {

...

public int usedMethod () { ....}
public int notUsedMethod () { ....}

...

usedMethod();

}

If it's like this

The public used Method <- is black and () {...}

Public int not Used Method <- It's gray () {....}

Is there a way to find out where the used black method is used?

I'm sure it was used somewhere, but I couldn't find it after I double-clicked and built a block, and it didn't come out even if I found it in Path...

android android-studio

2022-09-22 21:10

2 Answers

Press the control key and click


2022-09-22 21:10

Click Ctrl+Method, try Ctrl+b.

See also Android studio shortcuts.


2022-09-22 21:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.