Skip to content

Instantly share code, notes, and snippets.

View lapastillaroja's full-sized avatar

Antonio Abad lapastillaroja

  • Asurion
  • Tokyo
  • 10:27 (UTC +09:00)
View GitHub Profile
@lapastillaroja
lapastillaroja / DividerItemDecoration.java
Last active November 17, 2023 23:06 — forked from akmalxxx/DividerItemDecoration.java
DividerItemDecoration. RecyclerView.ItemDecoration simple implementation
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
@lapastillaroja
lapastillaroja / README.md
Last active March 14, 2017 11:41
Don't break the chain: use RxJava's compose() operator -> Android + Retrolambda + Observable.Transformer cannot find symbol method
@lapastillaroja
lapastillaroja / flickr.html
Last active June 23, 2016 01:10
Setting up Hugo with autodeploys, custom domain, etc
<figure class="wp-caption alignnone">
<a data-context="false"
href="{{ index .Params 2 }}"
title="{{ index .Params 0 }}">
<img src="{{ index .Params 3 }}" alt="{{ index .Params 0 }}" />
</a>
<figcaption class="wp-caption-text">{{ index .Params 1 }}</figcaption>