Sample Android App which demonstrates an Endless Recycler View
Don't forget to add the support libraries in build.gradle if you are copy and pasting the code
compile 'com.android.support:design:25.2.0'
compile 'com.android.support:cardview-v7:25.2.0'
compile 'com.android.support:recyclerview-v7:25.2.0'