In this episode (5 of 8), we update the Spark line chart when the radio buttons are selected: the metric selection radio group or time radio group. We also add the ability to scrub on the spark chart to look at the data for a particular day.
Playlist link: • COVID-19 Tracking App (Robinhood Style)
Commit for the code in this video: https://github.com/rpandey1234/Covid1... and 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
Смотрите видео COVID-19 Tracking App (Robinhood Style) Ep 5: Add Chart Interaction - Android Studio Kotlin онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Rahul Pandey 20 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,183 раз и оно понравилось 39 людям.