OkHTTP and Picasso don't run together

前端 未结 6 2035
灰色年华
灰色年华 2020-12-05 18:40

I use Picasso library in my project to load images ande cache them. It works good without any problem. However, when I try to use OkHttp library to perform data communicatio

6条回答
  •  自闭症患者
    2020-12-05 19:15

    Picasso uses 3 packages.

    1. Square.OkHttp
    2. Square.OkIO
    3. Square.Picasso

    You want to add 2 times the OkHttp and OkIO package because of using the OkHttp library and the Picasso library.

    The 2 packages are included in Picasso, you don't need to include the OkHttp library in your project.

提交回复
热议问题