Eddie
0
Q:

should i use singletone okhttpclient

OkHttp performs best when you create a single OkHttpClient instance and reuse it for all of your HTTP calls. 
This is because each client holds its own connection pool and thread pools. Reusing connections and threads reduces latency and saves memory. 
Conversely, creating a client for each request wastes resources on idle pools.
0

New to Communities?

Join the community