android-dev-challenge-compose
Introduction: Template repository for the Jetpack Compose #AndroidDevChallenge
Tags:
Note: This repository was used for the ADS and is not being maintained. As of Oct 2022 it works on Dolphin..Flamingo and uses AGP 7.3.0.
Instructions for contestants
Clone repository
Start coding! Check the local tests in
test/
. Do not modify the tests!Run tests locally Make all tests in
app/test/java
pass.Do not send PRs to the repo!
Instructions for hosts
- Create a couple of slides explaining the goal of the challenge and showing a screenshot of the app.
- Show the first hint on screen and drop a new one every ~5 minutes.
- Make sure contestants don't modify the tests instead of the code under test!
Hints
Test order
LocationScreenTest
LocationViewModelTest
UiLayerTest
LocationConfigChangeTest
LocationScreenTest
- Fix hardcoded title in
TopAppBar
- Swap IDs in left/right icons
LocationViewModelTest
- Catch error in
LocationViewModel
's Flow (don't forget to emit it)
UiLayerTest
LocationScreenForecast
: iterate onforecast.forecastWeek
and create multiple rows in a column.
LocationConfigChangeTest
expandedDays
should be saveable (look forindexSaver
!)
License
Now in Android is distributed under the terms of the Apache License (Version 2.0). See the license for more information.