Skip to content

Instantly share code, notes, and snippets.

Evan Lin proevan

View GitHub Profile
@proevan
proevan / Synchronized Scrolling RecyclerViewPager
Last active Mar 21, 2016
Synchronized Scrolling RecyclerViewPager
View Synchronized Scrolling RecyclerViewPager
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.DisplayMetrics;
import android.view.Display;
You can’t perform that action at this time.