How to add authentication token in header in Picasso library

前端 未结 6 966
梦如初夏
梦如初夏 2021-01-01 05:26

I am using the picasso library to download the bitmap so in the api I need to pass the token in the headers. I tried below code from this thread Android Picasso

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-01 05:59

    Picasso 2.5, The okHttpDownloader has changed. Please refer the below link to add the authentication headers

    https://github.com/square/picasso/issues/900

提交回复
热议问题