Coder Social home page Coder Social logo

Comments (13)

molinch avatar molinch commented on August 20, 2024

Thanks @daniel-luberda it will be easier to spot what's going on

from ffimageloading.

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

Ups, didn't add csproj files to commit, so you have to manually add "error.png" and "loading.jpg" to project files. I'll make a commit for this.

from ffimageloading.

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

Thanks! What a typo! :) I didn't see that!

from ffimageloading.

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

Still not working for me, even after 34a0a98

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

It works fine. If you want to see it faster then use something else than notexisting.com your website doesn't respond

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

Btw there are issues with the Xamarin.Forms renderer: in the placeholder example, when you tap a link it does 2 loading request. I tried to debug it and SetImage is called twice. Could you have look?

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

If you set a breakpoint in SetImage you will see that it's called twice.
Basically what happens is that 1st call starts, then 2nd call arrives, and since it uses the same native control we cancel the 1st one (this makes sense).
Therefore why SetImage is called twice I have no idea... :|

from ffimageloading.

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

Yes, I noticed it. I'll try to find the issue. Thanks.

from ffimageloading.

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

Found the issue! Will commit soon.

from ffimageloading.

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

https://forums.xamarin.com/discussion/52500/bindableproperty-of-imagesource-type-raises-propertychanged-twice-in-custom-views#latest

I'll commit a temporary fix. Can you check it it's the same on iOS?

from ffimageloading.

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

It should be ok now: #47

from ffimageloading.

molinch avatar molinch commented on August 20, 2024

FYI you might be interested to look this ModernHttpClient issue: anaisbetts/ModernHttpClient#184

That is why on Android the error placeholder is displayed after 1 minute... On iOS it's after 15s.

from ffimageloading.

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

Yes, that's what I was experiencing.

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.