일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- high order function
- 고차함수
- Fragment에서 Activity의 함수 사용하기
- 코딜리티
- 테마 아이콘
- ui test
- 재사용
- 리사이클러뷰
- LayoutManger
- binding adapter
- 스와이프
- 안드로이드13
- fragment
- espresso
- 코틀린
- 안드로이드개발레벨업교과서
- 안드로이드
- 뷰변경 감지
- Error:Execution failed for task ':app:mergeDebugResources'
- IntentTestRule
- 안드로이드스튜디오
- ActivityTestRule
- Fragment 수동 추가
- Android
- 생명주기
- viewholder
- 구분선
- searchview
- recyclerview
- adapter
- Today
- Total
목록개발/안드로이드 개발 (101)
룬아님의 취중코딩
suspendCoroutine이 코루틴 내에서 호출될 때 컨티뉴에이션의 인스턴스가 코루틴의 상태를 캡쳐하고 지정된 블록에 인자로 전달됩니다. 코루틴을 다시 실행하려면 블록은 해당 쓰레드나 다른 쓰레드에서 resumeWith()를 직접 호출하거나 resume() 또는 resumeWithException()을 호출해야 합니다. 이를 이용하여 아래의 코드와 같이 Callback을 사용하는 함수를 suspend 함수로 변환해줍니다. class TestImpl { suspend fun test(): Something = suspendCoroutine { somethingService.getCallback() { response: Something -> it.resume(response) } } } https://..
Data, Domain 모듈을 분리하고 Hilt를 적용하던 도중 error: cannot access ProductsRemoteDataSource class file for com.runeanim.data.source.remote.ProductsRemoteDataSource not found Consult the following stack trace for details. com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.runeanim.data.source.remote.ProductsRemoteDataSource not found cannot access ProductsRemoteDataSource 위와 같은 컴파일 에러가 계..
1. LifeCycleObserver 확인 Activity binding.lifecycleOwner = this Fragment binding.lifecycleOwner = this.viewLifecycleOwner 2. toMutableList 적용해 보기 items.toMutableList()
adb shell am start -W -a android.intent.action.VIEW -d "{deep link path}" {app package name} Example : adb shell am start -W -a android.intent.action.VIEW -d "deeplink://something" com.test.sample query를 추가할 때 "deeplink://test?type=income" query가 여러개일 때 "deeplink://test?from=2020-01-01\&to=2020-02-01\&type=income &앞에 반드시 \을 넣어줘야 제대로 인식한다. 더보기 https://developer.android.com/training/app-links/deep..