build.gradle (Module: app) android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { // com.google.gson implementation 'com.squareup.retrofit2:converter-gson:2.7.1' } Privacy.kt package com.jwsoft.kotlinproject data class Privacy ( var height: Int, var weight: Int ) User.kt package com.jwsoft.kotlinproject data class Use..
build.gradle (Module: app) android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { // com.google.gson implementation 'com.squareup.retrofit2:converter-gson:2.7.1' } Privacy.java package com.jwsoft.javaproject; public class Privacy { private int height; private int weight; public Privacy(int height, int weight) { this.h..
MainActivity.kt package com.jwsoft.kotlinproject import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import org.json.JSONException import org.json.JSONObject class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) try { val jsonString = "{..
MainActivity.java package com.jwsoft.javaproject; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setConten..
- Total
- Today
- Yesterday
- Livedata
- coroutine
- View
- Kotlin
- MVVM
- XML
- recyclerview
- Android
- ViewModel
- CoordinatorLayout
- 안드로이드 #코틀린 #Android #Kotlin
- ArrayList
- fragment
- JSONArray
- Intent
- TabLayout
- James Kim
- DataBinding
- 자바
- Architecture Pattern
- Design Pattern
- 안드로이드
- 코틀린
- activity
- handler
- JSONObject
- java
- ViewPager2
- Vue.js #Vue.js + javascript
- 혀가 길지 않은 개발자
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |