diff options
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt index 556c01c..9ee02cb 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt @@ -89,7 +89,8 @@ inline val View.isGone: Boolean get() = visibility == View.GONE /** - * Measure the height of a view if it had match_parent for width and no height restrictions + * Measure the height of a view if it had match_parent for width and no height restrictions. + * Note that the view should be visible for this to work. */ inline val View.unboundedHeight: Int get() { |