CommandQueue is library for processing commands in queue. Allows to avoid execition of outdated or repeating commands. Have possibility to put in queue commands not too often (for example commands to update UI download progress state).
Step 1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency to your app-level build.gradle:
dependencies {
compile 'com.github.genaku:CommandQueue:0.9.1'
}