I have a ListView with quite “high” rows. The rows have quite complex layouts, and I’d like to get ListView to scroll to exactly a child element of a row. Is this possible?
I’ve only found .smoothScollToPosition(), but I can only specify a whole row in that. I need something more precise, to e.g. scroll to a child element in the middle of a row.
Thanks.
Take a look at the ListView method smoothScrollToPositionFromTop (inherited from AbsListView)
You’ll be responsible for calculating the offset required to land in the middle of a row – that is beyond the scope of your question as it stands.