henryblue / TvRecyclerView

A custom RecyclerView for Android TV end
Apache License 2.0
7 stars 4 forks source link

Scroll is too slow #29

Closed droid-wise closed 5 years ago

droid-wise commented 5 years ago

I have a requirement that recyclerview shouldn't be focused on evrey dpad down or dpad up pressed. User when pressing dpad down or up, it is going slow and on every item inside recyclerview, method onFocused is being called and in my case epg list is being downloaded. I want from user to be able to fast scroll down when pressing dpad and when he stops, right then download epg list. Sorry for my english, however I hope you will understand what I am saying.

henryblue commented 5 years ago

Do you mean that sliding slowly when you press key long?

droid-wise commented 5 years ago

It doesn't pass fast all items. It is going slow when you hold down key D-pad Down on remote control. You can see that it has to focus every next item and I want this case, when user hold down key D-pad down or D-pad up, it would fast pass all items inside list and when he stops, than the method for onFocused will be called.

henryblue commented 5 years ago

ok, you can test for 1.2.1 version

droid-wise commented 5 years ago

But in that version maybe setItemSelected() doesn't center item?

droid-wise commented 5 years ago

28 see here

henryblue commented 5 years ago

it only select item not visible that will be slide center, please see my note