This version of the app is called todo-svc-kotlin, and provides a foundation for other kotlin samples in this project. The sample aims to:
- Provide a basic Screen-Views-ControlTower (SVC) with svc library dependency.
- Act as a reference point for comparing and contrasting the other kotlin samples in this project.
- Leverage idiomatic kotlin to improve readability and limit verbosity, as compared to the TODO-MVP kotlin project.
-
Kotlin stdlib
-
kotlin-android plugin
-
SVC library.
implementation "com.naver.android.svc:svc-generic:1.0.0-android-28-beta07"
Medium: You need to learn the kotlin language.
And you need to read what is SVC.
- Read this article
- Read "readme.md" from SVC repository
Same as TODO-MVP. You can change lifeCycle of Screen menually for test (see: TasksFragmentTest.kt)
Will be updated after finish this project
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Kotlin 37 397 553 1452 (1538 in todo-mvp-kotlin)
XML 31 85 291 556 (608 in todo-mvp-kotlin)
-------------------------------------------------------------------------------
SUM: 68 482 844 2008
-------------------------------------------------------------------------------
Pretty much Same or less then TODO-MVP. (Do not need interface for presenter or view, instead need interface for "viewsAction")
Medium, if you are unfamiliar with kotlin.