Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6주차 과제 제출_변성호 #29

Open
Byun-Sung-Ho opened this issue Jun 9, 2022 · 0 comments
Open

6주차 과제 제출_변성호 #29

Byun-Sung-Ho opened this issue Jun 9, 2022 · 0 comments

Comments

@Byun-Sung-Ho
Copy link

Byun-Sung-Ho commented Jun 9, 2022

  1. 네트워크에는 딜레이가 필연적으로 발생한다. 그런데 메인스레드는 딜레이가 생기면 안된다. 따라서 메인 쓰레드가 아닌 다른 쓰레드로 네트워크를 다루어야한다.
  2. 이를 위해서 Aysnc를 이용해야 한다.
  3. 서버에서 데이터를 받아올 때 받을 수 있는 양식을 만드는 클래스가 필요하다.
  4. Aysnc를 이용하는 방법도 있지만 한번에 도와주는 volly나 retrofit이 있다. 이걸 쓰면 좀 더 간단하게 정보를 다룰 수 있다.
    week6_result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant