Further readings

(By Mario Linares-Vásquez, Laura Bello, Sergio Velásquez, Santiago Cortés, Juan Santiago Acevedo and Juan David Cruz)


As a nice closing for this chapter, we have prepared a list of recommended videos, and recommended libraries that could help you to improve your performance bugs exterminator skills.

Android

The following are videos from the Google Developers YouTube channel:

Also, there are many third-party libraries for Android but several of them are "must have" libraries that are extremely popular and often used in almost any Android project. Some of those major libraries are:

NameDescription

A type-safe REST client for Android which intelligently map an API into a client interface using annotations.

A powerful image downloading and caching library for Android.

Using Java annotations, makes Android development better by simplifying common tasks. _Might Be replaced by Kotlin Synthetic Variables of _Kotlin Extensions

Android Parcelable made easy through code generation

Android Instance State made easy

Catch memory leaks in your apps

Powerful DSL for Android integration testing

Efficient unit testing for Android

When using libraries, you must keep in count that Android has some restrictions on its method count (65535 method limit). So, unless you are really going to squeeze the functionalities out of a library, you should not use it and instead build the functionality by yourself.

Let's say we want to load an image in our "Hello World" app using Glide. As with most dependencies, pulling Glide into a Gradle project is a single liner into your build.gradle file:

dependencies {
    ...
    implementation 'com.github.bumptech.glide:glide:4.6.1'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
}

Make sure you use the key "implementation" instead of "compile", which was the rule before Android Studio 3.0.

iOS

Also, there are many libraries that could help you in your project. Here is a list of some important ones:

NameDescription

Is a lightweight REST and JSON library for Swift

Is a really useful library to make loading dialogs.

Lets you know the connectivity state of your phone, you can the internet network status, the wifi status, etc...

A star rating control for iOS

Last updated