RecyclerView-FastScroller icon indicating copy to clipboard operation
RecyclerView-FastScroller copied to clipboard

China's population has multiple numbers

Open cmilousi opened this issue 4 years ago • 3 comments

When I scroll to China and while I am inside China's box, it shows a lot of different numbers of population when there should only be one number referring to China's population.

Screen Recording: (URL : https://www.dropbox.com/s/bsty0kfhu9l8qrr/20210111_133818~2.mp4?dl=0) This issue in depicted in the video from 0:09 to the end.

Sorry for the multiple issue creations. At first I wrote this issue in the same together with #47 but as they are not refered to the same problem I thought it was better to separate them.

I have experimented a lot with your app and I'm also trying to contribute with the grid layout for one of previous comments and I came up with this issue as well as #47 . Hope these help to make some improvement !

cmilousi avatar Jan 13 '21 08:01 cmilousi

@cmilousi always happy to have contributions to the project.

on the multiple numbers issue, i think, it would be a good idea to highlight the selected item in the sample. from the screen record, what i can make out is that as you move the fast scroller the adapter moves the selected item too.

shahsurajk avatar Jan 13 '21 14:01 shahsurajk

i think we should first update the example and highlight the selected element, use the callbacks provided here

shahsurajk avatar Jan 13 '21 14:01 shahsurajk

@shahsurajk to be more specific at 0:14 you can see that as I scroll but still remain in China the population goes from 1.3B -> 1.0B -> 278.4M -> 237.6M -> 170.1M -> 156.5M -> 146.9M -> 129.2M -> 126.7M and at 111.5M it switches to India.

Also , sorry I didnt quite catch where should I use these callbacks?

cmilousi avatar Jan 14 '21 08:01 cmilousi