fragment_red.xml fragment_green.xml fragment_blue.xml FragmentRed.kt package com.jwsoft.kotlinproject import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment class FragmentRed : Fragment() { override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): Vie..
2021.06.05 업데이트 둥근 모서리 추가 build.gradle (Module: app) dependencies { implementation 'com.google.android.material:material:1.1.0' } BottomSheetDialog 는 머티리얼 디자인이므로 의존성 추가 activity_main.xml bottom_sheet.xml BottomSheetFragment.kt package com.jwsoft.kotlinproject import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.Vi..
BottomSheetDialog -> 머티리얼 디자인 -> BottomSheetDialog() 클래스 생성 -> setContentView 설정 build.gradle (Module: app) dependencies { implementation 'com.google.android.material:material:1.1.0' } BottomSheetDialog 는 머티리얼 디자인이므로 의존성 추가 activity_main.xml bottom_sheet.xml MainActivity.kt package com.jwsoft.kotlinproject import android.content.Context import androidx.appcompat.app.AppCompatActivity import andr..
activity_main.xml MainActivity.kt package com.jwsoft.kotlinproject import android.content.Context import android.content.SharedPreferences import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { lateinit var sharedPreferences: SharedPreferences lateinit var editor: SharedPreferences...
Handler.post() vs runOnUiThread() vs AsyncTask.execute() activity_main.xml MainActivity.kt package com.jwsoft.kotlinproject import android.os.AsyncTask import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?)..
- Total
- Today
- Yesterday
- CoordinatorLayout
- JSONArray
- 혀가 길지 않은 개발자
- Design Pattern
- ViewModel
- 자바
- View
- JSONObject
- Kotlin
- coroutine
- Architecture Pattern
- 안드로이드
- activity
- 코틀린
- MVVM
- handler
- ViewPager2
- Livedata
- XML
- TabLayout
- fragment
- Intent
- James Kim
- ArrayList
- Android
- 안드로이드 #코틀린 #Android #Kotlin
- recyclerview
- DataBinding
- java
- 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 |