build.gradle (Module: app) dependencies { // viewModelScope implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0' // Coroutine implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7' } activity_main.xml activity_sub.xml MainActivity.kt package com.jwsoft.kotlinproject import android.content.Intent im..
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' //..
MVVM + Coroutine build.gradle (Module: app) apply plugin: 'kotlin-kapt' dependencies { // RecyclerView implementation 'androidx.recyclerview:recyclerview:1.1.0' // CardView implementation 'androidx.cardview:cardview:1.0.0' // Room implementation 'androidx.room:room-runtime:2.2.5' kapt 'androidx.room:room-compiler:2.2.5' testImplementation 'androidx.room:room-testing:2.2.5' // Coroutine implement..
build.gradle (Module: app) dependencies { // Coroutine implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4' } MainActivity.kt package com.jwsoft.kotlinproject import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import kotlinx.coroutines.* class MainActivity : AppCompatActivity() { overrid..
build.gradle (Module: app) dependencies { // Coroutine implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4' } activity_sub.xml SubActivity.kt package com.jwsoft.kotlinproject import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic..
- Total
- Today
- Yesterday
- 코틀린
- TabLayout
- CoordinatorLayout
- 혀가 길지 않은 개발자
- Vue.js #Vue.js + javascript
- ViewPager2
- Android
- MVVM
- coroutine
- Kotlin
- fragment
- JSONObject
- ArrayList
- 안드로이드 #코틀린 #Android #Kotlin
- JSONArray
- recyclerview
- XML
- Architecture Pattern
- Design Pattern
- Livedata
- DataBinding
- handler
- activity
- Intent
- 자바
- James Kim
- View
- java
- 안드로이드
- ViewModel
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |