build.gradle (Module: app) apply plugin: 'kotlin-kapt' dependencies { // RecyclerView implementation 'androidx.recyclerview:recyclerview:1.1.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' } User.kt package com.jwsoft.kotlinproject import androidx.room.ColumnInfo import androidx.room.Entit..
UserDBStructure.kt package com.jwsoft.kotlinproject import android.provider.BaseColumns object UserDBStructure : BaseColumns { val TABLE_NAME = "user" val COLUMN_ID = BaseColumns._ID val COLUMN_NAME = "name" val COLUMN_PHONE = "phone" val COLUMN_AGE = "age" val CREATE_TABLE_USER = "CREATE TABLE IF NOT EXISTS $TABLE_NAME (" + "$COLUMN_ID INTEGER PRIMARY KEY NOT NULL, " + "$COLUMN_NAME TEXT NOT NU..
activity_main.xml acitvity_sub.xml Privacy.kt package com.jwsoft.kotlinproject import java.io.Serializable data class Privacy ( val height: Int, val weight: Int ): Serializable MainActivity.kt package com.jwsoft.kotlinproject import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_main.* class MainActiv..
build.gradle (Module: app) dependencies { implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' } cardview_item.xml activity_main.xml ItemCard.kt package com.jwsoft.kotlinproject data class ItemCard(var imageRes: Int, var backgroundRes: Int, var name: String, var phone: String) MyRecyclerView.kt package com.jwsoft.kotlinproject import android..
UserDBStructure.kt package com.jwsoft.kotlinproject import android.provider.BaseColumns object UserDBStructure : BaseColumns { const val TABLE_NAME = "user" const val COLUMN_NAME = "name" const val COLUMN_AGE = "age" const val COLUMN_PHONE = "phone" const val COLUMN_GENDER = "gender" const val CREATE_USER_TABLE = "CREATE TABLE IF NOT EXISTS $TABLE_NAME (" + "${BaseColumns._ID} INTEGER PRIMARY KE..
- Total
- Today
- Yesterday
- TabLayout
- CoordinatorLayout
- handler
- java
- Android
- activity
- JSONObject
- Design Pattern
- 안드로이드
- ViewModel
- recyclerview
- XML
- ArrayList
- Livedata
- fragment
- View
- ViewPager2
- 코틀린
- 자바
- JSONArray
- coroutine
- Vue.js #Vue.js + javascript
- Kotlin
- 혀가 길지 않은 개발자
- 안드로이드 #코틀린 #Android #Kotlin
- James Kim
- MVVM
- DataBinding
- Architecture Pattern
- Intent
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |