I\'ve searched around for solutions to this problem, and the only answer I can find seems to be \"don\'t put a ListView into a ScrollView\". I have yet to see any real expl
When we place ListView
inside ScrollView
two problems arise. One is ScrollView
measures its children in UNSPECIFIED mode, so ListView
sets its own height to accommodate only one item(I don't know why), another is ScrollView
intercepts the touch event so ListView
does not scrolls.
But we can place ListView
inside ScrollView
with some workaround. This post, by me, explains the workaround. By this workaround we can also retain ListView
's recycling feature as well.