Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/android/android-dev-challenge-compose
Template repository for the ADS22 Speed Challenge
https://github.com/android/android-dev-challenge-compose
androiddevchallenge-compose no-maintenance-intended
Last synced: 3 months ago
JSON representation
Template repository for the ADS22 Speed Challenge
- Host: GitHub
- URL: https://github.com/android/android-dev-challenge-compose
- Owner: android
- License: apache-2.0
- Archived: true
- Created: 2021-02-15T08:30:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T16:56:16.000Z (about 2 years ago)
- Last Synced: 2024-09-21T18:12:32.246Z (3 months ago)
- Topics: androiddevchallenge-compose, no-maintenance-intended
- Language: Kotlin
- Homepage:
- Size: 876 KB
- Stars: 53
- Watchers: 8
- Forks: 383
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Android Dev Summit 2022 Speed Challenge
==================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
1. Clone repository
2. Start coding!
Check the local tests in `test/`. Do not modify the tests!3. Run tests locally
Make all tests in `app/test/java` pass.4. Do not send PRs to the repo!
# Instructions for hosts
1. Create a couple of slides explaining the goal of the challenge and showing a screenshot of the app.
1. Show the first hint on screen and drop a new one every ~5 minutes.
2. Make sure contestants don't modify the tests instead of the code under test!## Hints
### Test order
1. `LocationScreenTest`
1. `LocationViewModelTest`
1. `UiLayerTest`
1. `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 on `forecast.forecastWeek` and create multiple rows in a column.### LocationConfigChangeTest
* `expandedDays` should be saveable (look for `indexSaver`!)# License
Now in Android is distributed under the terms of the Apache License (Version 2.0). See the
[license](LICENSE) for more information.