1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
import android.support.v7.widget.RecyclerView; | |
import android.support.v7.widget.RecyclerView.Adapter; | |
import android.support.v7.widget.RecyclerView.AdapterDataObserver; | |
import android.support.v7.widget.RecyclerView.ViewHolder; | |
import android.view.ViewGroup; | |
import java.util.List; | |
/** | |
* This Adapter class wraps another Adapter in order to support cyclical scrolling. |
image: jangrewe/gitlab-ci-android | |
variables: | |
ANDROID_COMPILE_SDK: "27" | |
APP_NAME: "NameOfYourApp" | |
cache: | |
key: ${CI_PROJECT_ID} | |
paths: | |
- .m2/ |
image: jangrewe/gitlab-ci-android | |
before_script: | |
- export GRADLE_USER_HOME=$(pwd)/.gradle | |
- chmod +x ./gradlew | |
cache: | |
key: ${CI_PROJECT_ID} | |
paths: | |
- .gradle/ |
@Throws(JsonIOException::class) | |
fun Serializable.toJson(): String { | |
return Gson().toJson(this) | |
} | |
@Throws(JsonSyntaxException::class) | |
fun <T> String.to(type: Class<T>): T where T : Serializable { | |
return Gson().fromJson(this, type) | |
} |