-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling issue with Picasso #2
Comments
@monostefan That might be the linker removing members. If you turn off the linker, does the issue persist? If it goes away, then could you create a small sample project that produces this, or a similar, error? Does this same issue occur when you build the sample app? |
Hmm, after switching to UrlImageViewHelper I tried the same Version of your Picasso Bindings again. Linking was and is disabled in Debug Config. However, now I get a completely different error:
Not really sure what is going on here and I have to investigate further. Good news though: It works if I set up a new project and embed the bindings there. |
Okay, the error above comes from modernhttpclient, which brings it's own version of OkHttp. Hence the namespaces collide. Any Idea how this collision could be avoided? |
I`m having the same issue |
Unfortunately at this time there is no workaround. However this has been fixed in ModernHttpClient for the next release. anaisbetts/ModernHttpClient#177 |
Hey @mattleibow , I can see your successful merge here, anaisbetts/ModernHttpClient#177 however I am unsure how to get both ModernHttpClient and Picasso working together. I have tried using both from nuget and using both from source but I can't seem to figure it out. Any tips/suggestions/examples? EDIT: Hmmm... I made a sample project, added ModernHttpClient as new project, added Square.Picasso as new project. Updated the nuget packages in ModernHttpClient Square.OkHttp to 2.7.2.0" and Square.OkIO to 1.6.0.0. Seems to compile and run. Got it to load an image into an image view with Picasso and download data with ModernHttpClient. Not sure why it was not working in my other project. |
Why is this closed? I have the same problem when using Picasso with ModernHttp. There exists a PR fix for this. |
@jzeferino I've already merged the pull request. What more do you expect from me? Be more specific please. |
When this fix will be released? Thanks. |
@jzeferino Again. Be more specific. What do you want me to do? |
@jacksierkstra i need you to publish that fix in the next version of the picasso because now it has de okhttp.ddl attached to it. @jacksierkstra do you understand it? |
This library requires OkHttp and modernhttp client requires OkHttp as well, instead you can just use the Glide library which does not have a dependency with OkHttp and have the same API interface. Here is the , Glide library. Its also available on nuget. Here is how am using it in my viewhlder :
|
@josephkandi thank you for that port. |
Hello, Any updater on this ? Does this library can use the okHttp nuget package instead of bringing it's own implementation ? Regards. |
When I include your Picasso binding and use it in my app, I get the following compilation errors:
Any idea how to solve this?
The text was updated successfully, but these errors were encountered: