Been trying to find the Android (in Kotlin) equivalent to the following iOS code (in Swift):
myViewController.collectionView.contentSize.height
Attempted the following, but it's yielding a value of 0 when I run it via the debugger:
recyclerView.height
Any suggestions or concepts I'm unaware of are welcomed.