Skip to content

An example of basic Android application setup using Kotlin. It can run Robolectric and Espresso tests.

Notifications You must be signed in to change notification settings

pivotaljohn/android-example-kotlin

This branch is up to date with dam5s/android-example-kotlin:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7ebfdae · Mar 29, 2016

History

9 Commits
May 9, 2015
Mar 25, 2016
Mar 24, 2016
May 9, 2015
Mar 24, 2016
Mar 25, 2016
May 9, 2015
May 9, 2015
May 9, 2015
Mar 24, 2016
Mar 24, 2016

Repository files navigation

Android Example Kotlin

An example of basic Android application setup using Kotlin, including Robolectric tests.

This is an example built from the three following sources

  • Deckard Gradle (from the Robolectric team) demonstrates the base structure for running Robolectric tests through gradle.
  • tests-app-robolectric-junit (by Paul Blundell) demonstrates how to use a components based structure in order to make Robolectric tests well supported by Android Studio.
  • Kotlin Android Tutorial On how to convert the existing Java sctructure to Kotlin.

I haven't done any extra work on making the code nicer using Kotlin. This project is just a nice minimal starter for any android project using Kotlin and Robolectric.

Setup

Use Android Studio

About

An example of basic Android application setup using Kotlin. It can run Robolectric and Espresso tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%