The app we have created is a very simple Compose based app used to fetch and display a list of railcards. We will update this app as part of a pair programming exercise as the first part of the Android Engineer interview.
Loading | Content |
---|---|
We would like to update the APi to fetch from the network as it is currently returning a small hard coded subset of data. Given the time constraints we are also happy for the JSON to be loaded from the local copy if that is easier / quicker (though would be interested in a discussion on how you would normally setup the network stack)
We would also like to update the model used to represent the railcards from a String
to something which can contain the code, name and is popular flag. Using this we can update the UI to show all this information (we are not concerned about beautiful UI here, more about how we manage the data and get it to the screen than specific formatting)
Finally we would like to hear general suggestions / comments on how the code / structure / architecture could be improved (again given time constraints we don't expect to go through the process of making these changes)
We dont expect unit tests to be written in the short time we have (though if you have time thats great!), but we would like to discuss as we go how the code could be made (more) testable.
This is a pairing exercise where we are interested in both your Android knowledge as well as your ability to communicate with other engineers. It is not a memory test so feel free to google / look up docs etc as you would normally.
This project was setup on Android Studio Chipmunk | 2021.2.1
. It is hopefully simple enough to run on whatever version you have available though