Where I can see all the methods of a class in Android studio?
Asked Answered
H

3

5

Eg:- I want to go through the methods which are in ListActivity class. In Eclipse when we right click the particular class then in some options we can see all the methods of that class. How can I do this in Android studio?

Herdsman answered 16/11, 2015 at 10:1 Comment(0)
T
16

In the Project view, you will see something labeled "Structure". If you hit there, you will see all the methods in a given class.

Thorncombe answered 16/11, 2015 at 10:6 Comment(1)
It is on the left most tab pane in the my ide, the one with words written verticallyCott
H
3

Click on "Structure" on the left pane and you will find all the methods listed

Click on structure

Hegira answered 7/4, 2021 at 9:37 Comment(0)
P
1
  1. First You have to set your keymap as Eclipse in Android Studio. For this go to

    1. File --> Settings. A new window will open
    2. On the left Hand Side Select KeyMap.
    3. Now on the Right Hand Side there is a dropdown Keymaps
    4. select Eclipse.Click Apply then OK

Now you can press CTRL+Shift+R and type ListActivity to directly open that class. there you will find all the available methods

Another way to see the methods is to

  • click in the editor area.
  • Click generate
  • Click Override methods
  • There You can see all the available methods that can be overridden
Plainclothesman answered 16/11, 2015 at 10:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.