Retrofit2 + Coroutine build.gradle (Module: app) android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { // Retrofit2 implementation 'com.squareup.retrofit2:retrofit:2.7.1' implementation 'com.squareup.retrofit2:converter-gson:2.7.1' implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2' //..
build.gradle (Module: app) dependencies { // Retrofit2 implementation 'com.squareup.retrofit2:retrofit:2.7.1' implementation 'com.squareup.retrofit2:converter-gson:2.7.1' implementation 'com.squareup.okhttp3:logging-interceptor:4.3.1' } AndroidManifast.xml 인터넷 권한 추가. RetrofitAPI.kt package com.jwsoft.kotlinproject import com.google.gson.JsonObject import retrofit2.Call import retrofit2.http.GET ..
build.gradle (Module: app) dependencies { // Retrofit2 implementation 'com.squareup.retrofit2:retrofit:2.7.1' implementation 'com.squareup.retrofit2:converter-gson:2.7.1' implementation 'com.squareup.okhttp3:logging-interceptor:4.3.1' } AndroidManifast.xml 인터넷 권한 추가. RetrofitAPI.java package com.jwsoft.javaproject; import com.google.gson.JsonObject; import java.util.List; import retrofit2.Call; ..
- Total
- Today
- Yesterday
- Architecture Pattern
- CoordinatorLayout
- Design Pattern
- java
- James Kim
- Vue.js #Vue.js + javascript
- 안드로이드
- 안드로이드 #코틀린 #Android #Kotlin
- 자바
- View
- Livedata
- JSONObject
- ArrayList
- 코틀린
- Intent
- MVVM
- ViewModel
- XML
- Kotlin
- fragment
- handler
- Android
- recyclerview
- DataBinding
- TabLayout
- 혀가 길지 않은 개발자
- coroutine
- activity
- JSONArray
- ViewPager2
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |