Git Product home page Git Product logo

Comments (8)

anaisbetts avatar anaisbetts commented on September 27, 2024 1

My psychic debugger is saying that you're referencing the Portable version of the library in your actual app. You need to make sure your app references the platform-specific version

from splat.

EmilAlipiev avatar EmilAlipiev commented on September 27, 2024 1

@ghuntley it looks like that it appears only in release mode in xamarin.android when using full linking. I added splat into skipped assemblies and it works fine now

from splat.

HarryMcCarney avatar HarryMcCarney commented on September 27, 2024

Here is the code

public Task ResolvedPicture { get; set; }

private void FetchPicture()
{
var url = "http://somedomain.com/img/logo.png";
var client = Config.Http;
var bytes = client.GetStreamAsync(url).Result;
ResolvedPicture = BitmapLoader.Current.Load(bytes, null, null);
}

from splat.

Lug16 avatar Lug16 commented on September 27, 2024

Hi,

Could you please explain how to do that, I'm facing the same situation.

Thank you very much

from splat.

TobiasBuchholz avatar TobiasBuchholz commented on September 27, 2024

Updating Splat from 1.4.0 to 1.6.2 solved the problem for me.

from splat.

shiftkey avatar shiftkey commented on September 27, 2024

Closing this out as resolved (eventually).

from splat.

EmilAlipiev avatar EmilAlipiev commented on September 27, 2024

I am seeing this error for 2.0 version. It occurs for android 7 and higher but works fine earlier versions. my simple usage is


  string ImageUri = "sample.png";

 var Image = await Splat.BitmapLoader.Current.LoadFromResource(ImageUri, null, null);

Can you please advise something?

from splat.

ghuntley avatar ghuntley commented on September 27, 2024

@EmilAlipiev can you please open a new issue and attach a repro/test application. Ta

from splat.

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.