Break existing code into java and android modules

I created an Android app. To facilitate code maintenance, I want to break it into modules and move the code to these modules. I know how to create modules in Android Studio 2.2.2.

I can’t find any shortcut in the IDE to move the code (something like moving code to another class using the "Refactor" menu item) in the new module.

+4
source share
1 answer

Click on the package or file you want to move and drag it into the src package of the module you just created.

+1
source

Source: https://habr.com/ru/post/1658543/


All Articles