Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3 difference between library module and feature module

In Android Studio 3 there are at least two new module types. First is Instant app module and the second one is feature module. With Instant App module it's quite obvious but feature module from my perspective is the same as the library module. So what is the real difference between library and feature modules and when I should use library module and when feature module?

like image 945
Stepango Avatar asked Jun 30 '17 03:06

Stepango


1 Answers

I would complete Marcin Orlowski scheme like this. You could picture library module in the same way as dependencies of a given feature or base module.

Hence the library modules will not be packaged in Instant APP APK.

enter image description here

like image 115
gbaccetta Avatar answered Sep 23 '22 07:09

gbaccetta