I hereby claim:
- I am alorma on github.
- I am alorma (https://keybase.io/alorma) on keybase.
- I have a public key whose fingerprint is A69A 1BE5 38E9 5BAA 1467 BAE3 74D2 5F37 64C2 5FC3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| public class GlueItemsAdapter extends RecyclerArrayAdapter<GlueItem, GlueItemsAdapter.Holder> { | |
| public GlueItemsAdapter(LayoutInflater inflater) { | |
| super(inflater); | |
| } | |
| @Override | |
| protected Holder onCreateViewHolder(LayoutInflater inflater, ViewGroup parent, int viewType) { | |
| return new Holder(inflater.inflate(android.R.layout.simple_list_item_1, parent, false)); |
| import android.content.Context; | |
| import android.net.Uri; | |
| public class ContentUriType extends UriType { | |
| @Override | |
| public String getPath(Context context, Uri uri) { | |
| if (isGooglePhotosUri(uri)) { | |
| return uri.getLastPathSegment(); | |
| } | |
| return getDataColumn(context, uri, null, null); |
| #!/bin/sh | |
| mkdir app | |
| cd app/ | |
| git init | |
| git remote add origin git@github.com:alorma/metro-bcn.git | |
| git checkout --orphan L1 | |
| git commit -m "Hospital de Bellvitge" --allow-empty |
| package com.anuntis.segundamano.views.compat; | |
| import android.graphics.drawable.Drawable; | |
| import android.os.Build; | |
| import android.view.View; | |
| public class BackgroundCompat { | |
| private static final BackgroundCompatImpl IMPL; |
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| android:paddingBottom="@dimen/activity_vertical_margin" |
| <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:id="@+id/coordinator" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <android.support.design.widget.AppBarLayout | |
| android:id="@+id/appbarLayout" | |
| android:layout_width="match_parent" |