In this episode (3 of 8), we build the shell of the UI for our coronavirus tracker. We add elements in the ConstraintLayout using both design (drag and drop) and code (XML) sections of the layout editor. The main elements we use: SparkView, RadioGroup, RadioButton, and TextView.
Commit for the code in this video: https://github.com/rpandey1234/Covid1...
In this series, we build an open-source Android COVID-19 tracking app using core UI components from the Robinhood stock trading app. The app displays key metrics around the growth of coronavirus, including the number of positive cases, negative cases, and deaths per day.
Link to code: https://github.com/rpandey1234/Covid1.... The app is ~200 lines of Kotlin code and the app size is less than 3 MB.
Libraries used:
➤ Retrofit: https://github.com/square/retrofit
➤ GSON: https://github.com/google/gson
➤ Spark from Robinhood: https://github.com/robinhood/spark
➤ Ticker from Robinhood: https://github.com/robinhood/ticker
➤ Nice Spinner: https://github.com/arcadefire/nice-sp...
Relevant links:
➤ The data for our app is coming from The COVID Tracking Project: https://covidtracking.com/api
➤ Prevention and treatment for COVID-19: https://g.co/kgs/gkeCji