Got a long function ? Split it into short functions quickly using the refactoring shortcuts
Ctrl + Alt + M - to create a function from selected block of code
Ctrl + Alt + P - to convert the hardcoded value to a function parameter.
Watch the video for the use case scenario.
On this page of the site you can watch the video online Refactor function and parameter using shortcuts - Android Studio tips (with subtitles) with a duration of hours minute second in good quality, which was uploaded by the user Android Studio Pro Tips 16 June 2021, share the link with friends and acquaintances, this video has already been watched 61 times on youtube and it was liked by 0 viewers. Enjoy your viewing!