Learn how to create an Android app with Kotlin that uses core UI components from the Robinhood stock trading app. Instead of tracking stocks, this app will track COVID-19 cases. The app displays key metrics around the growth of coronavirus, including the number of positive cases, negative cases, and deaths per day.
We use data from The COVID Tracking Project (https://covidtracking.com/api).
? Code: https://github.com/rpandey1234/Covid19Tracker.
? Follow Rahul on Twitter: https://twitter.com/rpandey1234
? Follow Rahul on YouTube: https://www.youtube.com/rpandey1234
If you’re encountering an issue with views not being resolved in the Kotlin file, you should get a reference to the view with findViewById at the top of MainActivity. See this video for more: https://youtu.be/tiI5T17AD54, or checkout this article: https://proandroiddev.com/migrating-the-deprecated-kotlin-android-extensions-compiler-plugin-to-viewbinding-d234c691dec7.
?? Course Contents ??
?? (00:00) Intro
?? (03:41) Retrieving data from the API
?? (21:43) Building the layout
?? (31:25) Render the spark line chart
?? (40:13) Add chart interaction
?? (54:26) Add colors and state spinner
?? (1:11:01) Ticker view + radio button styling
?? (1:23:47) Color update + conclusion
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp