HorizontalVariableListView
HorizontalVariableListView copied to clipboard
Measurement fix by @endryha (issue #1)
Prevents notifyDataSetChanged problems.
Thanks but I pushed a new version just yesterday which doesn't use the mChildHeight anymore, because now children can have a variable height too. Can you pls check your patch against this new version?
Just checked out latest version (cf172019b4c68d702c40281ee054643918e754f0) It acts incorrectly: height takes all the space available like it is match_parent but it's not.
you should pass a fixed layout_height, otherwise we need to check all the children heights, since they can have a variable height.
I know, you are talking about: http://stackoverflow.com/a/11295287/691993 But, it would be lovely to have an option to use wrap_content since it's not alway obvious which height to use and have to sacrifice some performance due to calculations. What do you think?