Skip to content

Instantly share code, notes, and snippets.

View BrianLusina's full-sized avatar
🛠️
Building engines with crayons & legos 🖍️ 🏗️ 🧱

The Lusina BrianLusina

🛠️
Building engines with crayons & legos 🖍️ 🏗️ 🧱
View GitHub Profile

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
Enabling communication with API if server has Self-Signed Certificate
@BrianLusina
BrianLusina / README-Template.md
Created November 12, 2017 10:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@BrianLusina
BrianLusina / ExcellentAdventure.java
Created July 27, 2017 14:42 — forked from jonfhancock/ExcellentAdventure.java
This set of classes demonstrates what a Not Dumb ViewHolder should look like. It lightens the load on the Adapter, and places decisions about what to do with user interactions on the Activity where it belongs.
public class ExcellentAdventure {
@Retention(SOURCE)
@StringDef({ERA_BC, ERA_AD})
public @interface Era {
}
public static final String ERA_BC = "BC";
public static final String ERA_AD = "AD";
@BrianLusina
BrianLusina / StatefulRecyclerView.java
Created July 26, 2017 07:37 — forked from FrantisekGazo/StatefulRecyclerView.java
Retain & restore recycler view scroll position
package eu.f3rog.ui.custom;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
/**