How to achieve smooth scroll like google home tv application

150 Views Asked by At

I am using TvLazyColumn to render multiple rows and TvLazyRow to render multiple items inside each row. I am able to render data however the app crashes sometimes when user scrolls fast using DPAD_DOWN or DPAD_UP keys. The errors are

- java.lang.IllegalStateException: visitAncestors called on an unattached node

- java.lang.IllegalStateException: Place was called on a node which was placed already

Also focus on item moves very fast than actual scroll position.

I am looking for a solution with which I can achieve scroll like what we can see on google home tab.

0

There are 0 best solutions below