private fun adaptGridViewHeight() { if (gridView is DividableGridView) { (gridView as DividableGridView).adaptHeightToChildren() } }
Adapts the height of the grid view , which is used to show the bottom sheet 's items .