Android loopj Async Http crashes after 1.4.5 update

前端 未结 5 2007
谎友^
谎友^ 2021-02-04 05:35

The new update for Android loopj Async Http lib is out and they changed a lot. Now you need to manually set Looper.prepare() otherwise it uses synchronious mode ins

5条回答
  •  清酒与你
    2021-02-04 06:05

    It's because this version have a several bugs.

    I high recomend you use OkHttp async layer, it's basically the same structure.

    Or if you want the same structure based on OkHttpClient (Square Inc) use this:

    https://github.com/leonardoxh/AsyncOkHttpClient

提交回复
热议问题