corochann / AndroidTVappTutorial

Hands on tutorial for coding Android TV app from scratch
230 stars 91 forks source link

The vertical scroll doesn’t follow the current focused item inside a CustomListRow #5

Open romancamelia opened 7 years ago

romancamelia commented 7 years ago

Thank you for your work! Your samples and explanations from the blog are very useful for those learning or working with Leanback.

I was wondering if you have any idea why the following situation appears and possibly a fix for it? The scroll doesn’t follow the current focused item inside a CustomListRow if it is in a different row, but only scrolls when an item in a different CustomListRow gets focused (or maybe the trigger is that a different CustomListRow is selected).

Here is a gif with the described behaviour: sample

I tried adding an ItemAllignmentFacet but didn’t accomplished much, so any idea/ piece of code is welcomed.

corochann commented 7 years ago

Hi romancamelia, Thanks for your feedback. I'm sorry that I am busy with different project these days and cannot manage time to investigate it. Hope if someone can post some solution or you could find some counter measure.

AlekseyKonovalov commented 6 years ago

Hi all, @romancamelia , @corochann , tell me please, did you find a solution to this problem?

corochann commented 6 years ago

Hi, I'm sorry that I'm on other project and currently this repo is not maintained. Please ask stackoverflow if you could not find the solution.