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

MVP (Model + View + Presenter) activity_main.xml model/Player.java package com.jwsoft.javaproject.model; public enum Player { O, X, NULL } model/Cell.java package com.jwsoft.javaproject.model; public class Cell { private Player player; public void setPlayer(Player player) { this.player = player; } public Player getPlayer() { return this.player; } } model/Board.java package com.jwsoft.javaproject..

MVC (Model + View + Controller) activity_main.xml View 역할 model/Player.java package com.jwsoft.model; public enum Player { O, X } model/Cell.java package com.jwsoft.model; public class Cell { private Player value; public void setValue(Player value) { this.value = value; } public Player getValue() { return value; } } model/Board.java package com.jwsoft.model; public class Board { private Cell[][]..

Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK activity_main.xml activity_sub.xml SubActivity.java package com.jwsoft.javaproject; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class SubActivity extends AppCompatActivity { private Button btnSub; @Override p..
- Total
- Today
- Yesterday
- activity
- ViewPager2
- coroutine
- java
- TabLayout
- XML
- CoordinatorLayout
- 혀가 길지 않은 개발자
- 코틀린
- DataBinding
- Intent
- MVVM
- Android
- ArrayList
- ViewModel
- Vue.js #Vue.js + javascript
- Design Pattern
- recyclerview
- 자바
- View
- JSONObject
- James Kim
- Kotlin
- fragment
- 안드로이드
- Livedata
- handler
- 안드로이드 #코틀린 #Android #Kotlin
- Architecture Pattern
- JSONArray
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |