일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ui test
- 스와이프
- 코딜리티
- 뷰변경 감지
- 재사용
- 고차함수
- fragment
- 안드로이드스튜디오
- LayoutManger
- viewholder
- high order function
- recyclerview
- Android
- binding adapter
- 안드로이드개발레벨업교과서
- Fragment 수동 추가
- Fragment에서 Activity의 함수 사용하기
- 리사이클러뷰
- 생명주기
- 구분선
- 코틀린
- 테마 아이콘
- 안드로이드
- ActivityTestRule
- searchview
- espresso
- adapter
- Error:Execution failed for task ':app:mergeDebugResources'
- 안드로이드13
- IntentTestRule
- Today
- Total
목록분류 전체보기 (241)
룬아님의 취중코딩
Peaks A non-empty array A consisting of N integers is given. A peak is an array element which is larger than its neighbors. More precisely, it is an index P such that 0 A[P + 1]. For example, the following array A: A[0] = 1 A[1] = 2 A[2] = 3 A[3] = 4 A[4] = 3 A[5] = 4 A[6] = 1 A[7] = 2 A[8] = 3 A[9] = 4 A[10] = 6 A[11] = 2 has exactly three peaks: 3, 5, 10..
MinPerimeterRectangle An integer N is given, representing the area of some rectangle. The area of a rectangle whose sides are of length A and B is A * B, and the perimeter is 2 * (A + B). The goal is to find the minimal perimeter of any rectangle whose area equals N. The sides of this rectangle should be only integers. For example, given integer N = 30, rectangles of area 30 are: (1, 30), with a..
https://medium.com/swlh/12-steps-to-convert-your-java-class-to-kotlin-the-right-way-9a718cfb498d 12 steps to convert your Java class to Kotlin the right way Sure, it’s easy to have Android Studio convert your Kotlin class for you, but the results are rather messy! Like any automated tool… medium.com
널 (null)과 관련된 프로그래밍 오류는 수많은 버그의 원인이었습니다. Kotlin은 nullable이 아닌 변수를 도입하여 버그를 줄입니다. Step 1: Learn about nullability 기본적으로 변수는 null 일 수 없습니다. Int를 선언하고 null을 할당하면 var rocks: Int = null ⇒ error: null can not be a value of a non-null type Int 유형 뒤에 물음표 연산자 (?)를 사용하여 변수가 null일 수 있음을 나타냅니다. var marbles: Int? = null List와 같은 복잡한 데이터 유형이있는 경우 : 목록의 요소가 null이되도록 허용 할 수 있습니다. 목록을 null로 허용 할 수 있지만 null이 아닌 경..