N
N
nesalexy2015-09-05 17:27:28
Android
nesalexy, 2015-09-05 17:27:28

NameValuePair than to replace (android)?

Hello. In my project, I use these legacy tags:
-NameValuePair
-BasicNameValuePair
-HttpClient
-HttpPost
-URLEncodedUtils
-UrlEncodedFormEntity
-HttpResponse
etc.
In sdk 23, these tags were completely abandoned, what can replace them? What to use. If you can link to an example of some kind.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Emin, 2015-09-05
@nesalexy

square.github.io/okhttp

O
Oleg Gamega, 2015-09-05
@gadfi

retrofit + gson + something for asynchrony to your taste (you can use it out of the box, but for long operations something else is better, for example rxandroid)
of the advantages of such a bundle
, development speed,
ease of support,
stability
, I haven’t noticed any cons yet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question