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 ( ).
💻 Code: .
🔗 Follow Rahul on Twitter:
🔗 Follow Rahul on YouTube:
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: , or checkout this article: .
⭐️ 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:
Read hundreds of articles on programming:
And subscribe for new videos on technology every day: