Saving image from url using Picasso?

后端 未结 4 2059
庸人自扰
庸人自扰 2020-12-03 06:48

I\'m trying save an image using API Picasso. To do it I\'m trying use Target to save but I can\'t do this work.

How could I do this ?

Trying

4条回答
  •  情深已故
    2020-12-03 07:31

    I think you need to check whether you are actually requesting the permission. In Android the permissions are dynamic starting from the version 6.0. Either you must request it at run time or just downgrade your targetSdk version to 22.

提交回复
热议问题