일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- LayoutParmas
- 동영상 실행
- BottomSheetDialog
- RecyclerView
- 온라인에디터
- powercfg
- Aplha
- utf8mb4
- 걸음 감지 센서
- Android
- 온라인IDE
- setBackgroundResource
- 자기장 센서
- Android Studio 3.6
- 금속 탐지기 센서
- 광 센서
- 걸음수 감지 센서
- 온라인코딩
- Kotlin
- mysql 5.7
- lateinit
- 코틀린
- 웹코드빌드
- phpstorm
- 자격증
- Exoplayer
- 회전 센서
- 온라인무료코딩사이트
- ARGB
- Today
- Total
Memory

fun dateDay(date : Date) : String { val dayFormat = SimpleDateFormat("dd", Locale.getDefault()) val day = dayFormat.format(date) return day } fun getWeekDate() : Pair{ val calendar = Calendar.getInstance() calendar.time = Date() // 오늘 날짜의 주 구하기 val week_of_year = calendar.get(Calendar.WEEK_OF_YEAR) // 월요일 calendar.add(Calendar.DAY_OF_MONTH, (2-calendar.get(Calendar.DAY_OF_WEEK))) val mondayDate ..
fun isTablet(context: Context): Boolean { val xlarge = context.resources .configuration.screenLayout and Configuration.SCREENLAYOUT_SIZE_MASK === 4 val large = context.resources .configuration.screenLayout and Configuration.SCREENLAYOUT_SIZE_MASK === Configuration.SCREENLAYOUT_SIZE_LARGE return xlarge or large } [참고] 출처 - stackoverflow.com/questions/16784101/how-to-find-tablet-or-phone-in-androi..

2021/01/12 - [IT/ANDROID] - [ANDROID/KOTLIN] ExoPlayer로 동영상 실행하기 (r2.12.2) [ANDROID/KOTLIN] ExoPlayer로 동영상 실행하기 (r2.12.2) ExoPlayer 공식 홈페이지 exoplayer.dev/hello-world.html Hello world! - ExoPlayer exoplayer.dev XML ... CODE ( ViewBinding 사용중 ) class VideoDetailActivity : A.. jinha3211.tistory.com XML (exo_playback_control_view.xml) - Custom ExoPlayer Controller Layout ※ ExoPlayer 내부에 설정되어있는 id를 사..