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

Marc Knaup

03/20/2020, 10:49 AM
Is there an open source Android app project that’s well-written in Kotlin and well-structured? I’m looking for a good example project to send to a development team and say “that’s the type of structure and quality we’re aiming for”.
a

Araib

03/20/2020, 11:25 AM
You can check out Google's architecture sample. That's quite nicely written. Infact I'm using it as a guideline for setting up project with CLEAN https://github.com/android/architecture-samples.git
m

Marc Knaup

03/20/2020, 11:28 AM
Thanks, that’s a good start!
They also have a least one minor anti-patterns in there 😄
activity
is expected to be non-
null
at this point, so they should use
!!
instead (or
requireActivity()
). Otherwise an unexpected state would go unnoticed.
👍 1
a

Alejandro Rios

03/20/2020, 12:00 PM
I don't now if helps but @Madalin Valceleanu publish an interesting repo in #feed channel, this is the link https://github.com/VMadalin/kotlin-sample-app
👍 3