Welcome to Android advanced guide to create a RESTFul API Client app. I have designed this course for those who have some basic knowledge on Android app development. In this course I will show you how you can quickly create an API based app with modern libraries like Retrofit, ButterKnife, and EventBus.
In this course we are going to build a weather forecast app using a service called DarkSky API.
Here is how I structured the course. First I will discuss about the API and the structure of the data. After that I will show you how you can convert raw JSON string into Plain Old Java Objects, which is also known as POJO.
Then I will use Retrofit library to get responses from the server. I will also discuss how you can refactor your code to make it clean. I will show you how to access & update user interface using ButterKnife library.
When a codebase gets larger, it becomes complex to communicate back and forth between different Android components. I will show you how you can easily avoid this issue in the future using EventBus library, right from the beginning.
Finally I will show you how to update the UI dynamically by using the data from that API server.
Zakaria is a full stack software engineer, game developer & an IT instructor. He has 10+ years of experience in various programming languages. He loves to work with Java, C#, Android, Unity 3d, Swift, Photoshop, Sketch, Blender & many other tools and services. Currently he is working as a full time Android App Developer.
StartConvert JSON to POJO (5:19)
StartGet API Response Using Retrofit Library (9:14)
StartRefactor The Code (7:09)
PreviewUpdate UI using ButterKnife Library (3:21)
StartData Passing Between Components Using EventBus Library (9:26)
PreviewError Handling (6:29)
StartCreate User Interface (13:04)