Autoplay
Autocomplete
Previous Lesson
Complete and Continue
The Complete RESTful APIs for Android Course
Introduction
Introduction (3:14)
Source Files
Additional Resources
RESTful APIs
Creating a New Project (2:02)
Creating the Basic UI Layout (4:22)
Creating a Placeholder TextView (1:59)
Styling and Setting the Toolbar (6:40)
Adding a SearchView to the Toolbar (5:32)
Accessing the SearchView from the ForecastActivity (4:44)
Implementing the SearchView with a Placeholder (4:22)
Collapsing the SearchView After a search (2:17)
Registering for a Free Weather Data API (2:14)
Understanding the JSON Response (6:08)
Adding the GSON Library (1:40)
Using the JSON to Kotlin Data Class Plugin (3:40)
Modifying the Generated Data Classes (4:09)
Understanding the Retrofit Library (2:40)
Adding Retrofit (3:07)
Setting up OpenWeatherApiService (4:14)
Initializing Retrofit (1:30)
Adding getFutureWeather Function (3:59)
Using Kotlin Coroutines (3:19)
API Key via a Request Interceptor (8:32)
Displaying Data from the API (3:34)
Adding the INTERNET permission (2:58)
Handling No Internet Connection (3:28)
Making Application Context Available Globally (5:38)
Creating a ConnectivityInterceptor (6:22)
Testing the App Without the Internet (4:07)
Why Not All Code is Inside an Activity (2:57)
Adding ViewModel Dependencies (3:39)
Creating a ForecastViewModel (4:22)
Understanding LiveData (3:59)
Adding LiveData to the ForecastViewModel (5:00)
Accessing the ViewModel from ForecastActivity (4:43)
Observing LiveData and Populating the UI (4:39)
Handling the NoConnectivityException (2:23)
Error Messages in the Activity (2:23)
Showing and Hiding the Error Message (4:54)
Adding a Loading Indicator (4:06)
Adding a Loading Indicator while Waiting (5:20)
Handling Incorrect City Name Exceptions (3:03)
Adding a RecyclerView (3:22)
Layout for Displaying ForecastEntries (9:19)
Writing an Adapter for the RecyclerView (2:54)
Implementing the ForecastRecyclerAdapter (3:52)
Implementing the ViewHolder (5:13)
Showing the RecyclerView (4:51)
Using Glide to Display Weather Icons (4:55)
Working with XML (2:03)
Adding TikXml dependency (2:16)
Setting up XML Response Data Classes (3:01)
Converting XML to Kotlin Data Classes - Part 1 (4:07)
Converting XML to Kotlin Data Classes - Part 2 (5:40)
Switching OpenWeatherApiService for the XML API (4:06)
Converting XML Kotlin Classes to JSON (5:19)
Conclusion
Conclusion (1:01)
Creating a Placeholder TextView
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock