oleksandrbalan / minabox

Lazy box library for Jetpack Compose, which allows to display lazy loaded items on the 2D plane.
Apache License 2.0
292 stars 18 forks source link

Does it support Remote Control? #22

Closed oxyroid closed 4 months ago

oxyroid commented 4 months ago

Liking compose-tv artifact, more adaptations for tv. Such as scroll, item scaling, long pressed, etc.

sbenmeddour commented 4 months ago

You have to use BringIntoViewResponder & BringIntoViewRequester to have working scroll on focus Long click & clicks are not related to the library, use tv-material with Surface & Card or you can even make your own Modifier

If the repo's owner read this, plead add the ability to set our own animationSpec for scroll ;)

oxyroid commented 3 months ago

@sbenmeddour Can you give me a bringIntoView sample for item scrolling with minabox?