Last active
October 19, 2023 18:15
-
-
Save yongjhih/bfdb33ec81f94d73646b1cf7f432726c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 val childHelper by lazy { NestedScrollingChildHelper(this).apply { | |
//isNestedScrollingEnabled = false | |
} } | |
init { | |
isNestedScrollingEnabled = true | |
} | |
override fun setNestedScrollingEnabled(enabled: Boolean) { | |
return childHelper.setNestedScrollingEnabled(enabled) // Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object kotlin.Lazy.getValue()' on a null object reference | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment