N
N
Nikita2018-05-13 20:53:25
Android
Nikita, 2018-05-13 20:53:25

Why is the image flipped when added to an ImageView?

Adding an image to an ImageView

mImageView.setImageBitmap(bitmap);
и так 
Picasso.get().load(uri).fit().centerCrop().into(mImageView);

Why does a picture with a large size immediately flip? I tried to do compression like this
Bitmap bitmap1 = Bitmap.createScaledBitmap(bitmap, 760, 1280, true); but the image is still flipped there. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2018-05-13
@NeToster

If anyone needs it - use Glide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question