android / tv-samples

Multiple samples showing best practices in app development on Android TV.
Apache License 2.0
1.02k stars 329 forks source link

Removing tv-foundation and replacing TvLazyRow with LazyRow #178

Open guan1 opened 1 month ago

guan1 commented 1 month ago

Hi,

I've a question - in this commit https://github.com/android/tv-samples/commit/dca953ee160ec048eab3dba959797785966c2642 you've removed the tv-foundation dependency and you've replaced TvLazyRow with LazyRow.

We did that in our app as well and noticed a significant performance improvement. But we were wondering, what the reason behind this change is? Is tv-foundation not needed anymore? We couldn't find any information about that in any Google IO session, also the official TV compose documentation still mentions that we should use tv-foundation and TvLazyRow. So what's the right approach here? Can you shed some light why you did those changes?

Thanks in advance and best regards, Andre

JJSarrasin commented 4 weeks ago

Same here, performance on compose TV framework is highly eagerly awaited!