Skip to content

Template repository for the Jetpack Compose #AndroidDevChallenge

License

Notifications You must be signed in to change notification settings

OscarSpruit/android-dev-challenge-compose

 
 

Repository files navigation

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.
  2. Show the first hint on screen and drop a new one every ~5 minutes.
  3. Make sure contestants don't modify the tests instead of the code under test!

Hints

Test order

  1. LocationScreenTest
  2. LocationViewModelTest
  3. UiLayerTest
  4. 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 for more information.

About

Template repository for the Jetpack Compose #AndroidDevChallenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%