1

AlphabetIndexer.getSectionForPosition() Always Returns 0

view story
linux-howto

http://stackoverflow.com – I am trying make the letters appear when I do fast scrolling on my ListView. For some reason, the letter that appears is always the first letter in my alphabet (a space). It appears that getSectionForPosition() always returns 0, even though it should not. Below is my code: activity_host.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/act (HowTos)