문제

I read about Picasso image downloading lib but there is one problem that I can't resolve it. It's large image downloading. When I have large image i.e 2000 x 1920 it's crushed (out of memory).

How could I solve this problem?

Picasso.with(context).load(myUrl).into(imageView);

도움이 되었습니까?

해결책

Try

Picasso.with(context).load(url).resize(width, height)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top