Skip to content

Instantly share code, notes, and snippets.

package com.alexzh.recyclerviewsetemptyview;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
public class EmptyRecyclerView extends RecyclerView {
private View mEmptyView;
@AlexZhukovich
AlexZhukovich / app-module-build.gradle
Created November 13, 2016 09:47
Import an external module to Android Project in Android Studio (http://alexzh.com/tutorials/import-an-external-module-in-android-studio/)
//ExternalModulesInProject/Application/app
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.alexzh.application"
minSdkVersion 14
targetSdkVersion 25
@AlexZhukovich
AlexZhukovich / module-build.gradle
Last active October 23, 2017 14:13
Versions managing of dependencies in Gradle
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.alexzh.temperatureconverter"
minSdkVersion 14