【发布时间】:2022-12-01 22:57:12
【问题描述】:
I have a case which I have to do and that case says fetch exchange money currency but dont use third party libraries. I know retrofit and volley but they are third party libaries. I know also async task but they say async task is old and there are issues like memory issues. I can use async task but what do you think about that ? how should I use to fetch data from internet without using third party library ? Do you have an opinion on this?
【问题讨论】:
-
This question is too vague to be on-topic for this site. But here are a couple articles that answer your question. baeldung.com/java-http-request baeldung.com/java-executor-service-tutorial
-
bealdung ... I love random tutorials using fx
DataOutputStreamfor HTTP ... muahahaA data output stream lets an applicationwrite primitive Java datatypes to an output stream in a portable way