Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Flutter
- Dialog
- Coroutines
- Navigation
- TEST
- activity
- Kotlin
- DART
- 앱
- livedata
- 테스트
- 앱바
- scroll
- appbar
- intent
- binding
- 계측
- 안드로이드
- textfield
- tabbar
- Compose
- data
- drift
- ScrollView
- Button
- viewmodel
- textview
- android
- LifeCycle
- CustomScrollView
Archives
- Today
- Total
목록코틀린 (1)
Study Record
[안드로이드] 현재 시간 가져오기
코틀린으로 현재 시간을 가져오는 2가지 방법이다. 1. Calendar 클래스 이용하기 private fun getNowTime(): String{ val calendar = Calendar.getInstance() val year = calendar.get(Calendar.YEAR) val month = calendar.get(Calendar.MONTH) + 1 val day = calendar.get(Calendar.DAY_OF_MONTH) val hour = calendar.get(Calendar.HOUR_OF_DAY) val minute = calendar.get(Calendar.MINUTE) val second = calendar.get(Calendar.SECOND) val dayOfWeek =..
안드로이드
2022. 5. 26. 17:27