Last active
December 13, 2020 12:23
-
-
Save WendyYanto/b50228829d5486b4ee9b2e63789356ee to your computer and use it in GitHub Desktop.
Lazyload
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
private fun isViewShown(): Boolean { | |
return (parentView.scrollY + screenHeight) >= viewStub.top | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment