Reputation: 3304
I have created an Android app. To facilitate maintenance of the code, I want to break it into modules and move code to these modules. I know how to create modules in Android Studio 2.2.2.
I am not able to find any shortcut in the IDE to move the code (something like moving code to a different class using "Refactor" menu item) to the new module.
Upvotes: 4
Views: 552
Reputation: 11
Click on the package or the file you want to move and drag and drop in the src package of the newly created module.
Upvotes: 1