FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

LoadFile not work with path gallery image in xamarin android

Open vsarnataro opened this issue 10 years ago • 5 comments

vsarnataro avatar May 24 '16 14:05 vsarnataro

@vsarnataro This is clearly not enough for us to debug it. Can you add some context:

  • What is your loading request?
  • Android API version?
  • Device model?

Thanks

molinch avatar May 24 '16 15:05 molinch

with 4.4.2 and 5.0 on s4 mini and nexus 5 emulator. I get photo with:

            imageIntent.SetType("image/*");

            imageIntent.SetAction(Intent.ActionGetContent);

            StartActivityForResult(Intent.CreateChooser(imageIntent, "Select photo"), 0);

and try put it in asyncImageView ImageService.Instance.LoadFile(data.Data.Path).Transform(new CircleTransformation(10, "#FFFFFF")).Into(userImage);

with normal ImageView this code work

vsarnataro avatar May 24 '16 15:05 vsarnataro

Many thanks ! Can you give me a path example? ie what you have inside: data.Data.Path

molinch avatar May 24 '16 15:05 molinch

/external/images/media/625

vsarnataro avatar May 25 '16 08:05 vsarnataro

Could you upload a basic sample that demos this issue? It should not be difficult to fix once we reproduce it.

molinch avatar May 26 '16 00:05 molinch