Optimizing Volley

前端 未结 3 570
温柔的废话
温柔的废话 2021-02-09 06:05

I am using Volley library in android.I run the same url in the browser and it returns in less than a second.I would like to know , how can optimize Volley? Not clear on what is

3条回答
  •  猫巷女王i
    2021-02-09 06:49

    Try To use this Enhanced-volley

    This project is based on the Volley Networking Toolkit for Android created by Google themselves. The toolkit itself is really great and extensible, but it is missing a few features. This project aims to add those features to the Volley toolkit to make it a more complete HTTP solution.

    Also you can custom libs which uses Java NIO(new IO) to improve callback/response time. using Socket.IO

    Some people also trying to use volley with OKHTTP

    Thanks to Mr.Vinay

提交回复
热议问题