BuildingForAndroidTV icon indicating copy to clipboard operation
BuildingForAndroidTV copied to clipboard

Picasso fast scrolling

Open olealgoritme opened this issue 9 years ago • 4 comments

Hi,

Testing to load 10 rows of 100 CardPresenters, it gets very laggy when fast scrolling even on very powerful android boxes.

Picasso v 2.4 has pauseTag() and resumeTag() made for this exact purpose. Their sample app uses a AbsListView onScrollListener and pauses/resumes the picasso bitmap loading in (fast) scroll mode.

Any way to implement this with leanback and your CustomRowFragment?

olealgoritme avatar Jul 03 '15 09:07 olealgoritme

Hi @thailemon ,

are you using 'episode 4' as a base for your project? If not, I suggest you to switch to that / update the components manually, since lot of things has changed in the Leanback demo project.

Also, I'm trying to write a library that offers a CustomBrowseFragment that works sort of out of the box.

dextorer avatar Jul 04 '15 07:07 dextorer

That's awesome! Yes I'm using the updated version with the changes :) But with fast scroll through a very large row it's at times very laggy. Have you had this issue?

olealgoritme avatar Jul 04 '15 08:07 olealgoritme

Yes, the issue is confirmed. But before I investigate it I would rather try and have something working for the library.

dextorer avatar Jul 04 '15 08:07 dextorer

As promised, here goes the library! https://github.com/dextorer/Sofa

dextorer avatar Jul 25 '15 12:07 dextorer