views:

52

answers:

1

I have a ListView which has a TextView in the row. The TextView has been Linkified and has had setMovementMethod(LinkMovementMethod.getInstance()) set on it.

The ListView is no longer selectable and the ListView's getSelectedItemPosition() always return -1 .

Is there a way to know where the ListView has scrolled to in this case?

A: 

You can try AdapterView#getFirstVisiblePosition() it will return the position in the adapter for the first visible child view on the screen.

Qberticus