안드로이드
Android Retrofit2 사용하기
Retrofit2 사용(Http Rest Api 라이브러리) Retrofit A type-safe HTTP client for Android and Java square.github.io AndroidManifest.xml - 퍼미션 추가 app build.gradle implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.4.0' 데이터 클래스 생성 //로그인 데이터 public class DataLogin { public String email, password, nick_name, create_dt; } //Retrofit 응답 클래스 : 서버에서 주는 형식..
2021. 11. 17. 23:22
최근댓글