Skip to content

Instantly share code, notes, and snippets.

@afreakyelf
Created March 14, 2019 13:24
Show Gist options
  • Save afreakyelf/0eb3f0714bcde3d221d51378a8f8482a to your computer and use it in GitHub Desktop.
Save afreakyelf/0eb3f0714bcde3d221d51378a8f8482a to your computer and use it in GitHub Desktop.
Detect when recycler view reaches at the top
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