Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- android api호출
- Android
- Gif넣기
- 이미지 라운딩
- EditText
- boxing
- maxLength
- 글자 줄임 표시
- Retrofit 2.0
- Glide라이브러리
- 입력감지
- 서버 통신
- compose
- 버튼 누르는 효과
- ellipsize
- XML
- 기본형
- 레트로핏
- 버튼 클릭 효과
- 안드로이드
- Kotlin
- rounding
- url에서 이미지 가져오기
- apk 빌드 오류
- 글자 수 제한
- retrofit
- Retrofit+RxJava
- 참조형
- 코틀린
- Lint found fatal errors while assembling a release target
Archives
- Today
- Total
목록synchronous (1)
단비의 개발블로그
[Android] Retrofit 2.0 사용 방법 (Java, Kotlin) - 2. Call 동기, 비동기
1. 시작하기 (이전 포스팅) 이번 포스팅은 Retrofit의 Call을 이용하여 실제 통신을 하는 방법에 대해서 포스팅하겠습니다. 많이 쓰고, 간단한 방법인것 같습니다. 동기와 비동기 통신 두가지 방법이 있습니다. 간단한 만큼 Java와 Kotlin 두가지 다 보여드릴게요 1. 초기화 [Java] 1 2 3 4 5 6 7 public static final Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://api.twitch.tv/") .addConverterFactory(GsonConverterFactory.create()) .build(); final TwitchService twitchService = retrofit.create(Twit..
Android
2019. 9. 3. 00:05