Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб COVID-19 Tracking App (Robinhood Style) Ep 2: Retrieving Data from the API - Android Studio Kotlin в хорошем качестве

COVID-19 Tracking App (Robinhood Style) Ep 2: Retrieving Data from the API - Android Studio Kotlin 4 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



COVID-19 Tracking App (Robinhood Style) Ep 2: Retrieving Data from the API - Android Studio Kotlin

In this episode (2 of 8), we use The COVID Tracking Project API in order to retrieve the data that will power our application. We use the Retrofit library to make the API call and map it to a CovidData data class. Since there are no UI changes in this video, we use the debugger to validate our progress. Code written 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. Timestamps: 0:00 - The COVID Tracking Project API 1:07 - Add Retrofit to our project 3:42 - Create CovidService which defines the endpoints 5:39 - Define CovidData data class 8:23 - Setup Retrofit in MainActivity 9:58 - Make the API call for national data 12:45 - Understand the state data API 14:19 - Make the API call for state data 15:49 - Parse the Date from the JSON 16:42 - Use the debugger to validate the data 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

Comments