android - What do I need to update, to get the latest recyclerview methods? -


according docs, latest recyclerview has addonscrolllistener, yet in android studio method doesn't show up, instead shows deprechiated setonscrolllistenermethod, no sign of being depreciated.

any on need update appreciated.

make sure you're using support.v7 recyclerview

import android.support.v7.widget.recyclerview; 

and in build.grade

compile 'com.android.support:recyclerview-v7:22.2.0' 

Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -