SBT project template for Android REST client.
- android-sdk-plugin to run on Android
- Retrofit to create REST interface
- Macroid for Ui layout
- Robolectric for tests
First you need to have g8 installed, see readme Then:
g8 aafa/rest-android-scala
cd <project name>
sbt run
sbt run
will try to run an app on a device (actual or emulator), make sure you have someadb devices
ready.sbt quickTest
will do quick tests with robolectric setup on your regular JVM.
You will get a simple client implementaion with one actual call to https://api.bitfinex.com/v1 REST API to demostrate how things works.