0

I've been having some trouble enabling fast scrolling for a Grid View and a List View. I've set fastScrollingEnabled="true" in their XML layouts and added both the horizontal and vertical state drawables for the track and thumb. I also added these values to their styles, as well, and have "[GridView | ListView].setFastScrollEnabled(true) set programmatically. However, when I run the application, fast scrolling does not work. After some investigation, I've noticed via Layout Inspector that the fastScrollEnabled attribute is set to "false" for both the Grid View and the List View. Why would Android automatically set this value back to false? Is there a way for me to prevent this so that I can fast scroll on these view types? I've gotten fast scrolling working on Recycler Views in the same application with the same amount of setup, but for some reason the Grid View and List View fast scrolling attribute remains false.

mbob98
  • 79
  • 7

0 Answers0