
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..

ViewModel + DataBinding + LiveData + BindingAdapter build.gradle (Module: app) android { dataBinding { enabled = true } } MainViewModel.java package com.jwsoft.javaproject; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; public class MainViewModel extends ViewModel { public MutableLiveData liveColor = new MutableLiveData(); } BindingAdapters.java package com.jwsof..

ViewModel + DataBinding + LiveData + BindingAdapter build.gradle (Module: app) apply plugin: 'kotlin-kapt' android { dataBinding { enabled = true } } MainViewModel.kt package com.jwsoft.kotlinproject import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class MainViewModel : ViewModel() { var liveColor: MutableLiveData = MutableLiveData() } BindingAdapters.kt package com...
- Total
- Today
- Yesterday
- Vue.js #Vue.js + javascript
- 자바
- 안드로이드
- MVVM
- ViewPager2
- 코틀린
- JSONObject
- ArrayList
- ViewModel
- James Kim
- activity
- fragment
- 안드로이드 #코틀린 #Android #Kotlin
- handler
- JSONArray
- recyclerview
- XML
- Kotlin
- Livedata
- Android
- DataBinding
- CoordinatorLayout
- Design Pattern
- java
- TabLayout
- View
- 혀가 길지 않은 개발자
- Intent
- coroutine
- Architecture Pattern
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |