Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 937 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 937 Bytes

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