https://kotlinlang.org logo
Title
a

Augusto Pinto

04/28/2020, 6:17 PM
Hi all, I'm thinking in develop a base project to use as a skeleton and reuse it in order to avoid a similar setup every time a new project is started from scratch. What setup do you think is important and should be in this base project?
a

Antonio

04/28/2020, 7:26 PM
MVVM design pattern. Use Google Architecture Components https://developer.android.com/jetpack/docs/guide
a

Augusto Pinto

04/28/2020, 7:41 PM
Yes, I've in mind to use Google Architecture Components, androidx. Do you think that is a good idea if I also implement a dagger support and its base setup?
a

Antonio

04/28/2020, 8:25 PM
I personally don't like and don't use Dagger. I don't see a big advantage using Dagger, but maybe I'm wrong.
a

Augusto Pinto

04/28/2020, 8:26 PM
and what do you use? Koin?
I mean, in order to implement dependency injection in a project
a

Antonio

04/28/2020, 8:30 PM
I haven't used Koin. I have used Dagger in a few projects, but I don't like it :)
a

Augusto Pinto

04/28/2020, 8:31 PM
oh, I see
hahah
😁 1
f

florent

04/28/2020, 9:05 PM
Lots of base class and a util package 😂
a

Augusto Pinto

04/28/2020, 10:12 PM
what do you mean with “base class”? haha
k

KayCee

04/29/2020, 3:02 AM
For exp: you can create a mvpbase module with clean architecture, rxjava, dagger including: base classes (activity, fragment, custom views like dialog, progress, extensions) and utils(network, permisson, file..)
a

Augusto Pinto

04/29/2020, 1:04 PM
Thanks!