본문 바로가기

IT/Android

9/17 read post

728x90
반응형

1.

출처 : https://android-developers.googleblog.com/

제목 : Android Studio Dolphin

요약 : 안드로이드 스튜디오 돌핀이 출시되었습니다. gradle managed virtual device 가 추가되어 테스트 실행중 cpu 및 메모리 사용량을 줄이는 테스트가 가능합니다. compose animation inspector 가 추가되었고, compose multiview preview 가 추가되었습니다. 또한, layout inspector 에서 compose recomposition count 를 볼 수 있습니다. wear os 에뮬레이터 페어링 helper, wear os 에뮬레이터 도구모음, wear os direct surface 가 출시 되었습니다. 

 

2.

출처 : https://medium.com/@amitshekhar/remove-duplicates-from-an-array-in-kotlin-41b423fb1e7a

제목 :Remove duplicates from an array in Kotlin

요약 : kotlin 에서 array 에서 중복을 제거하는 방법 4가지를 설명합니다. distinct - item 순서를 유지하고 주어진 array 의 첫번째 요소만 출력에 표시됩니다. list 를 return 합니다. toSet - item 순서를 유지하고 set 를 return 합니다. toMutableSet - 순서를 유지하고 mutableSet 을 return 합니다. toHashSet - 순서를 유지하지 않고 hashSet 을 return 합니다. 

 

3.

출처 : https://medium.com/@roperluo.me/android-studio-dolphin-2021-3-1-released-come-and-see-what-39-s-new-7f059c13ebad

제목 : android studio dolphin 2021.3.1 released, come and see what...

요약 : 안드로이드 스튜디오 돌핀의 변경사항에 대해서 설명합니다. 위에서 언급한 compose 와 wear os 외의 내용으로 logcat 에서 서로 다른 view mode 간에 빠르게 전환이 가능하고, 쿼리시스템을 이용해서 로그를 쉽게 찾을 수 있습니다. 즐겨찾기도 지원합니다. 앱 crash 발생 시 process ended 메세지와 process started 메세지가 출력되어서 쉽게 찾을수 있습니다. 

 

4.

출처 : https://medium.com/@amitshekhar/why-is-it-recommended-to-use-only-the-default-constructor-to-create-a-fragment-5cfc54daba4a

제목 :Why is it recommended to use only the default constructor to create a Fragment?

요약 : fragment 생성자 선언시 기본 생성자를 사용해야 하는 이유에 대해서 설명합니다. 시스템이 fragment 복원시 기본생성자로 복원을 하기 때문에 override 된 인자를 넣은 생성자를 사용하면 값을 보장할수가 없기 때문에 기본생성자를 사용하고 인자는 setArgument 로 넘기는 방식을 추천합니다.

 

5.

출처 : https://faith-developer.tistory.com/188

제목 :ViewTreeObserver 그게 뭔데?

요약 : viewTreeObserver 에 대해서 설명합니다. viewTreeObserver 는 vieww tree안에서의 변화를 감지하는 객체이고 이것을 이용해서 edittext 에 키보드를 보여주는 방법을 예제로 onGlobalLayoutListener 를 설명합니다. 이외에 다른 리스너에 대해서 소개를 합니다.

 

6.

출처 : https://medium.com/proandroiddev/rxjava-coroutines-fbb8931897c8

제목 : RxJava to Coroutines: end-to-end feature migration

요약 : rxJava 로 되어있는 fragment to retrofit service 를 coroutine 으로 변경하는 과정을 설명합니다. retrofit service, repository, interactor, viewmodel 을 각 rxJava 코드와 비교하며 coroutine 으로 변환한 코드를 보여줍니다.

 

7.

출처 : https://medium.com/androiddevelopers/deep-links-crash-course-part-3-troubleshooting-your-deep-links-61329fecb93

제목 :Deep Links Crash Course : Part 3 Troubleshooting Your Deep Links

요약 : deep link 사용시 발생할 수 있는 여러 오류를 설명하며, 이 오류를 어떻게 디버그 할 수 있는지 adb 와 curl 을 사용하여 각 사례에 처리하는 방법을 설명합니다.

 

8.

출처 : https://medium.com/@jatin.krr/use-google-search-like-a-pro-2022-c738af6884da

제목 :Use Google Search like a PRO (2022)

요약 : 구글 서치를 이용할 때 자료를 더 정확하고 빠르게 찾기 위한 24가지 팁을 소개합니다. 여러 키워드를 이용해서 filetype, site, AND, OR, author, "", cache, intitle, location, define 등 다양한 키워드를 소개합니다.

 

9.

출처 : https://medium.com/android-news/inline-noinline-crossinline-what-do-they-mean-b13f48e113c2

제목 : inline, noinline, crossinline — What do they mean?

요약 : inline, noinline, crossinline 에 대해서 설명합니다. inline 은 고차함수를 매개변수로 사용시 반복된 객체 생성을 줄일 수 있고, noinline 은 여러개의 고차함수를 매개변수로 사용시 특정 고차함수를 inline 하지 않을 때 사용되고, crossinline 은 non-local 반환을 허용하지 않아야 하는 람다를 표시하는데 사용됩니다.

 

10.

출처 : https://medium.com/@betulnecanli/how-to-store-date-in-room-database-d06dec3a2d7e

제목 :How to store date in Room database?

요약 : room db 사용시 localDateTime class 를 저장할 때 오류가 발생합니다. 따라서 LocalDateTime 객체를 사용시 typeConverter 를 사용해서 오류를 해결하는 법을 설명합니다.

728x90
반응형