Using RecyclerView and SnapHelper replace ViewPager
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
SmartTabLayout
SmartTabLayout2
app
gradle/wrapper
recyclerpager
.gitignore
LICENSE
README.md
build.gradle
demo.gif
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

RecyclerPager

Using RecyclerView and SnapHelper replace ViewPager.

recyclerpager

This library provides some useful classes for RecyclerView.

  • FragmentRecyclerAdapter

    Helping Fragments to display in RecyclerView.ViewHolder. It's similar to android.support.v4.app.FragmentPagerAdapter

  • SnapPageScrollListener

    It's similar to ViewPager.OnPageChangeListener

dependencies {
    compile 'me.relex:recyclerpager:1.0.4'
}

Download

SmartTabLayout

Project Link

Fork from https://github.com/ogaclejapan/SmartTabLayout

Making the widget extendable

SmartTabLayout2

The New SmartTabLayout works with RecyclerView and SnapHelper

RecyclerPager