MVVM (Model + View + ViewModel) build.gradle (Module: app) apply plugin: 'kotlin-kapt' // BindingAdapter 사용하기 위함 android { dataBinding { enabled = true } kotlinOptions { // by viewModels() 사용하기 위함 jvmTarget = "1.8" } } dependencies { // by viewModels() 사용하기 위함 implementation 'androidx.fragment:fragment-ktx:1.2.5' } activity_main.xml binding/BindingAdapters.kt package com.jwsoft.kotlinproject.bin..
MVVM (Model + View + ViewModel) build.gradle (Module: app) android { dataBinding { enabled = true } } 데이터 바인딩 사용하기 위함 activity_main.xml bindingadapter/BindingAdapters.java package com.jwsoft.javaproject.bindingadapter; import android.view.View; import android.widget.LinearLayout; import androidx.databinding.BindingAdapter; public class BindingAdapters { @BindingAdapter("android:JamesVisible") pu..
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..
MVVM + Room + RecyclerView + CardView + AlertDialog build.gradle (Module: app) 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' annotationProcessor 'androidx.room:room-compiler:2.2.5' testImplementation 'androidx.room:room-testing:2.2.5' ..
- Total
- Today
- Yesterday
- James Kim
- XML
- MVVM
- 안드로이드
- Vue.js #Vue.js + javascript
- CoordinatorLayout
- View
- Architecture Pattern
- Intent
- TabLayout
- 코틀린
- JSONArray
- coroutine
- activity
- ViewModel
- Android
- Kotlin
- Design Pattern
- DataBinding
- java
- 안드로이드 #코틀린 #Android #Kotlin
- handler
- Livedata
- JSONObject
- ViewPager2
- 자바
- fragment
- 혀가 길지 않은 개발자
- recyclerview
- ArrayList
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |