Created
March 14, 2019 13:24
-
-
Save afreakyelf/0eb3f0714bcde3d221d51378a8f8482a to your computer and use it in GitHub Desktop.
Detect when recycler view reaches at the top
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!recyclerView.canScrollVertically(-1)) { | |
Log.d("status", "Top reached") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment