Reputation: 1573
I have a listview
in a fragment
inside an activity
. All the basic functionality is working totally fine. But there is strange behavior I've observed recently.
While scrolling really fast, as soon as the listview
reaches either end, it starts scrolling in the reverse direction automatically. This behavior is not seen while scrolling slowly or while scrolling with the fast scrolling knob.
There are no errors or exceptions at all so I'm unable to find out the cause of such behavior.
Any help will be really appreciated.
Here is the xml
definition of my listview
:
<ListView
android:id="@id/android:list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:fastScrollEnabled="true"
android:fadeScrollbars="true"
android:dividerHeight="0dp"
android:divider="@null" >
</ListView>
The implementaion in code is very basic and so I'm not posting it here but stil if it's needed, I'll post that too.
Upvotes: 2
Views: 211
Reputation: 100468
This is a known issue in Android, and "will be fixed in a future release". So unfortunately, it's not something you can solve for your application.
Upvotes: 2