GenericTypeClass.kt package com.jwsoft.kotlinproject class GenericTypeClass (var t: T) MainActivity.kt package com.jwsoft.kotlinproject import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_m..
build.gradle (Module: app) dependencies { // Coroutine implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-androidx:1.3.4' } MainActivity.kt package com.jwsoft.kotlinproject import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import kotlinx.coroutines.GlobalScope import kotlinx...
MVVM + Room + RecyclerView + CardView + AlertDialog 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-te..
RecyclerView + ItemClickListener + ItemLongClickListener build.gradle (Module: app) dependencies { // RecyclerView implementation 'androidx.recyclerview:recyclerview:1.1.0' // CardView implementation 'androidx.cardview:cardview:1.0.0' } cardview_item.xml activity_main.xml MyAdapter.kt package com.jwsoft.kotlinproject import android.content.Context import android.view.LayoutInflater import androi..
activity_main.xml MainActivity.kt package com.jwsoft.kotlinproject import android.content.DialogInterface import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Toast import androidx.appcompat.app.AlertDialog import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { lateinit var alertDialog: AlertDialog override fun o..
- Total
- Today
- Yesterday
- Android
- handler
- activity
- ArrayList
- Vue.js #Vue.js + javascript
- James Kim
- Intent
- 코틀린
- Livedata
- 자바
- Architecture Pattern
- coroutine
- XML
- Design Pattern
- recyclerview
- TabLayout
- java
- ViewPager2
- View
- 혀가 길지 않은 개발자
- Kotlin
- MVVM
- JSONObject
- 안드로이드 #코틀린 #Android #Kotlin
- ViewModel
- JSONArray
- DataBinding
- CoordinatorLayout
- fragment
- 안드로이드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |