Skip to content

Instantly share code, notes, and snippets.

Sam Wolfand swolfand

  • Slack
  • San Francisco, CA
Block or report user

Report or block swolfand

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
swolfand / scrolling_toolbar_layout.xml
Created May 1, 2016
This is a normal toolbar that will collapse up when the list if scrolled and scrolls in when you reach the top
View scrolling_toolbar_layout.xml
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
package com.samwolfand.stockhawk.ui.adapter;
import android.database.Cursor;
import android.database.DataSetObserver;
public abstract class CursorRecyclerViewAdapter<VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH> {
private static final String LOG_TAG = CursorRecyclerViewAdapter.class.getSimpleName();
private Cursor mCursor;
View The Technical Interview Cheat

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
You can’t perform that action at this time.