Coder Social home page Coder Social logo

Comments (9)

daniel-luberda avatar daniel-luberda commented on August 20, 2024

Fixed it. It would be nice to make a new build. It's Android specific. daniel-luberda@8d506a4

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

I don't understand the fix. Could you explain it before I merge it?

Once explained it's fine for me to make a new Nuget packag. Btw shouldn't we reference the newer Xamarin Forms version since you removed the "hack"?

from ffimageloading.

daniel-luberda avatar daniel-luberda commented on August 20, 2024

Of course. Invalidate is an Android method. If invalidate() gets called it tells the system that the current view has changed and it should be redrawn as soon as possible. Original Image renderer had an Invalidate override that skips Invalidate operation once after setting ImageSource. That was the cause why images didn't always reload when FAST scrolling. I just removed override and that's all.

About the hack that was removed:
I'm still thinking if we should merge it know, a lot of people still uses Xamarin.Forms 1.4.4 (I sent you a mail about it). The hack doesn't collide with anything. On the other side, FFImageLoading auto-cancels cache request when another one arrives. What do you think?

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

Thanks Daniel it's much clearer now.
I think it would be better to remove the hack and change nuspec. As you said the lib automatically auto cancels previous requests so it's quite safe to do so.

from ffimageloading.

daniel-luberda avatar daniel-luberda commented on August 20, 2024

Ok, if canceling a lot of requests is fine, we could merge it. :) But don't change dependencies to XF >-1.5, 1.4 is fine too (it'll just cancel requests)

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

Fine for me!

from ffimageloading.

daniel-luberda avatar daniel-luberda commented on August 20, 2024

Ok :)

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

New nuget pushed: https://www.nuget.org/packages/Xamarin.FFImageLoading.Forms/
Could you give it a try?

from ffimageloading.

daniel-luberda avatar daniel-luberda commented on August 20, 2024

Working good. Can be closed :)

from ffimageloading.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.