setListViewHeightBasedOnItems

Sets ListView height dynamically based on the height of the items.

Return

true if the listView is successfully resized, false otherwise

Parameters

listView

to be resized