August 2017
Intermediate to advanced
440 pages
10h
English
Until now, the presented data has been hardcoded inside the application, but we want to use data from the Marvel API instead. To do this, we need to define some network mechanisms that will retrieve the data from the server. We are going to use Retrofit, a popular Android library used to simplify network operations, together with RxJava, a popular library used for reactive programming. For both libraries, we will use only basic functionalities to make their usage as simple as possible. To use them, we need to add the following dependencies in the build.gradle module:
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7: $kotlin_version"
implementation "com.android.support:appcompat-v7: $android_support_version" ...Read now
Unlock full access