(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
/* | |
* Copyright 2014 Chris Banes | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
import android.util.Log; | |
public final class LogManager { | |
public static final int VERBOSE = 0; | |
public static final int DEBUG = 1; | |
public static final int INFO = 2; | |
public static final int WARN = 3; | |
public static final int ERROR = 4; | |
public static final int WTF = 5; |
/** | |
Copyright Grupo SCA 2014 (@SCA_Consultores) | |
Licensed under the GPL General Public License, Version 3.0 (the "License"), | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.gnu.org/licenses/gpl.html | |
Unless required by applicable law or agreed to in writing, software |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style> | |
<div class='embed-container'> | |
<iframe src='{{ scheme }}://player.vimeo.com/video/{{ video_id }}' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> | |
</div> |
import android.content.Context; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import org.jetbrains.annotations.NotNull; | |
import org.jetbrains.annotations.Nullable; | |
public class EmptyRecyclerView extends RecyclerView { | |
@Nullable View emptyView; |
#! /usr/bin/env bash | |
if [ $# -eq 0 ] | |
then | |
echo "No word supplied" | |
fi | |
word=$1 | |
find . -type f -and -not -path '*/.git/*' -and -not -path '*/.svn/*' -exec grep -i -H "$word" {} \; |
import android.content.Context; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.AttributeSet; | |
import android.view.View; | |
public class EmptyRecyclerView extends RecyclerView { |
/* | |
* Copyright 2015 Laurens Muller. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
//go to https://github.com/easternHong/vb-android-app-quality | |
//get the config file and put them into app/config/.. | |
apply plugin: 'pmd' | |
apply plugin: 'findbugs' | |
apply plugin: 'checkstyle' | |
task findbugs(type: FindBugs) { | |
description 'Run findbugs' | |
group 'verification' | |
classes = fileTree('build/intermediates/classes/debug/') |