Name: android_test_app
Owner: Wire Swiss GmbH
Description: null
Created: 2016-09-30 15:49:27.0
Updated: 2018-05-02 11:54:04.0
Pushed: 2018-05-02 11:54:03.0
Homepage: null
Size: 50
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The task is to create Android app which shows a list of messages and supports deletion.
Messages should be downloaded from this endpoint:
s://rawgit.com/wireapp/android_test_app/master/endpoint/{PAGE}.json
Where {PAGE}
is a number, starting from 0
.
In our example those are static files, and there is only 10 of them, but in production app this files could be changing,
and there could be many more pages. Client should fetch new pages until it gets 404
.
Your app should:
Everything else is up to you, implement it however you want. Feel free to add more features that you think would be nice and will show your skills. Take as much time as you need.
As always, clean and tested code counts the most.
Provided in the source code above is a simple scala-on-android application using the sbt-android plugin. Feel free to use this template or write your own build setup if you prefer. Please quickly read the introduction on the sbt-android plugin website and follow their instructions carefully (e.g., using IntelliJ instead of Android Studio - if you so choose!). The guide also includes steps for installing the ANDROID_SDK
which you will need installed on your system in order to run the project. Plenty more information on the android platform can be found on the Android Developer Website
After cloning the project, you should simply be able to run sbt android:install
from the scala-template
directory, and the application will be built and installed on a connected device or emulator.
Furthermore, some other tips for a smoother development experience in IntelliJ:
target
directory as Not Excluded
in order for the R class to appear as compiledIf anything is unclear, please let us know.