일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- fragment
- 안드로이드스튜디오
- high order function
- 코틀린
- 스와이프
- Android
- binding adapter
- Fragment에서 Activity의 함수 사용하기
- ActivityTestRule
- searchview
- viewholder
- espresso
- LayoutManger
- IntentTestRule
- 안드로이드
- 고차함수
- 재사용
- adapter
- 안드로이드13
- 생명주기
- Error:Execution failed for task ':app:mergeDebugResources'
- 구분선
- Fragment 수동 추가
- 안드로이드개발레벨업교과서
- 테마 아이콘
- 뷰변경 감지
- 리사이클러뷰
- recyclerview
- ui test
- 코딜리티
- Today
- Total
목록개발 (235)
룬아님의 취중코딩
https://medium.com/better-programming/kotlin-coroutines-from-basics-to-advanced-ad3eb1421006 Kotlin Coroutines, From the Basic to the Advanced It’s time: Coroutines are here medium.com
https://medium.com/agency04/dagger-2-dependency-injection-basics-in-android-be229d99a0a Dagger 2 — Dependency Injection basics in Android I’m sure that the majority of you reading this blog already have some kind of idea about Dagger, especially if you are an Android… medium.com
앱을 사용하는 도중 TaskStackBuilder을 사용해 PendingIntent를 만든 Notification을 사용하면 어떻게 될까? 기본적인 생각으로는 FLAG_ACTIVITY_NEW_TASK를 사용하지 않는다면 실행 중인 엑티비티 위에 PendingIntent의 task가 쌓여 같은 화면이 두개가 나올 것이라고 생각했지만 새로 생긴 task만 남고 이전 task는 사라진 것을 확인할 수 있었다. 이는 TaskStackBuilder가 기본적으로 task를 reset하고 새로운 task를 만들기 때문인데 이 때문에 생명주기상으로도 MainActivity에서 onNewIntent()가 호출되는 것을 확인할 수 있었다. https://stackoverflow.com/a/42678747 singleTop..
사실 바텀시트에서 드래그를 막아야 하는 경우는 드믈지만 터치와 드래그를 막아 뒤로 가기를 누르거나 따로 dismiss를 해주어야만 fragment가 종료되도록 구현할 수 있다. override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { return BottomSheetDialog(requireContext(), theme).apply { setOnShowListener { window?.findViewById(R.id.touch_outside) ?.setOnClickListener(null) (window?.findViewById(R.id.design_bottom_sheet) ?.layoutParams as CoordinatorLayout.La..