https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
m

martin.petrulak

09/26/2017, 3:17 PM
https://github.com/Petrulak/kotlin-mvp-clean-architecture Aaaaaaand another example of Clean architecture using Dagger, retrofit and few other libs. What do you guys think ?
s

stantronic

09/27/2017, 7:39 AM
Looks nice. Still unclear myself on the benefits of MVP over MVVM
m

martin.petrulak

09/27/2017, 7:53 AM
Thank you Steven! I would say its more less personal preference. I personally dont like adding any logic into view(XML). My approach is to make view dumb as possible and use presenter to set/update data in views. Realm has a nice/short example of difference between those 2 architectures. https://academy.realm.io/posts/eric-maxwell-mvc-mvp-and-mvvm-on-android/?
s

stantronic

09/27/2017, 7:54 AM
Cool. I’ll check it out 🙂
k

khanhbkqt

10/06/2017, 10:25 AM
Cool. But is there a way to cancel an usecase executation?
3 Views