Join Slack
Powered by
An example of Clean Architecture with Koltin: <htt...
# android-architecture
j
juan
11/28/2017, 2:46 PM
An example of Clean Architecture with Koltin:
https://github.com/juan1393/CleanArchitecture-Kotlin
s
sngrekov
11/28/2017, 3:12 PM
https://github.com/juan1393/CleanArchitecture-Kotlin/blob/master/app/src/main/java/com/github/juan1393/cleanArchitectureKotlin/domain/useCase/executor/MainThreadImpl.kt
Domain layer must not know anything about outer layers, better move concrete implementation to presentation
sngrekov
11/28/2017, 3:13 PM
https://github.com/juan1393/CleanArchitecture-Kotlin/blob/master/app/src/main/java/com/github/juan1393/cleanArchitectureKotlin/domain/useCase/login/LoginUseCase.kt
You use a lot of !! operator, this is very non kotlin way and also unsafe
5
Views
Open in Slack
Previous
Next