https://kotlinlang.org logo
#android
Title
# android
f

Felipe Tavares

07/23/2019, 2:15 PM
Hello... If i want to build a modular architecture app, when I create a new module... I need to select android library?
m

Melvin Biamont

07/23/2019, 2:16 PM
If you won’t use any “Android” classes, no, you can select a “Java library” module
👍 1
f

Felipe Tavares

07/23/2019, 2:18 PM
And what difference between android library and dynamic feature module?
j

Joaquim Ley

07/23/2019, 2:46 PM
@Dominaezzz you should Google it as they are very different things. But for you as a dev App module includes a Library Dynamic feature includes an app module
d

Dominaezzz

07/23/2019, 2:47 PM
Sup!
j

Joaquim Ley

07/23/2019, 2:48 PM
Sorry wrong mention :(
😁 2
🙏 1
@Felipe Tavares
f

Felipe Tavares

07/23/2019, 2:50 PM
Hmm... Then, if i want to make a new module into my app, i need to create an android library, right?
j

Joaquim Ley

07/23/2019, 2:51 PM
Have you read about it at all? Not being an a-hole or anything but these questions seem like you haven’t. Depends on what you mean with “new module” is that a new feature?
😶 1
d

Dominaezzz

07/23/2019, 2:52 PM
Making a separate library doesn't make your project more modular, if you don't reuse the library.
Why do you want a modular architecture?
f

Felipe Tavares

07/23/2019, 2:52 PM
Yeah... Like login, register, etc features
j

Joaquim Ley

07/23/2019, 2:52 PM
Please read about the subject 🙂
d

Dominaezzz

07/23/2019, 2:54 PM
Yeah, I think it's easier if you read on it. My guess is you probably don't need to make your project modular.
f

Felipe Tavares

07/23/2019, 2:55 PM
Hmm, thx 😊
j

Joaquim Ley

07/23/2019, 2:56 PM
Rofl that’s what I’ve been saying, read about it. These questions tell me you are being a little lazy 😜 and hoping for a simple answer
f

Felipe Tavares

07/23/2019, 2:57 PM
😁😅
d

Dominaezzz

07/23/2019, 2:57 PM
(sigh). Smh.
🤷‍♂️ 1