In 1c there was such a feature, you press the key combination and where the cursor is in the code, a label is placed, then you program it, you put another label, and by pressing the key combination in the code, you can navigate through these labels. Is there something similar in Android Studio?
Navigate menu -> Bookmarks :
- F11 – check / uncheck.
- Shift + F11 – display the list of labels and go to the required one.
- Ctrl + F11 – add a label with a mnemonic \ remove a label
There is also a transition to the previous / next label, but the hotkeys by default are not assigned to these actions (available only from the menu) – you can assign them yourself