Skip to content

jzmcode/android-architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-mvp-kotlin

This version of the app is called todo-mvp-kotlin, and provides a foundation for other kotlin samples in this project. The sample aims to:

  • Provide a basic Model-View-Presenter (MVP) architecture without using any architectural frameworks.
  • 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 java project.

This sample is a work in progress.

Dependencies

  • Kotlin stdlib
  • kotlin-android plugin

Features

Complexity - understandability

Medium: If you already understand TODO-MVP (Java), you need to learn the kotlin language.

Testability

Unit testing

Same as TODO-MVP.

Integration testing

Same as TODO-MVP.

Code metrics

Files were converted 1:1 from TODO-MVP's Java code.

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Kotlin                          48            907           1539           3008 (3450 in MVP)
XML                             34             95            338            816
-------------------------------------------------------------------------------
SUM:                            82           1002           1977           3824
-------------------------------------------------------------------------------

Maintainability

Ease of amending or adding a feature

Same as TODO-MVP.

Learning cost

Medium, if you are unfamiliar with kotlin.

About

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published