Computer Hippocampus
  • 홈
  • 태그
  • 방명록
  • 메뉴 닫기
  • 글작성
  • 방명록
  • 환경설정
    • 분류 전체보기 (176)
      • Daily Records (0)
      • Coding Test 관련(with Kotlin) (0)
      • Android Dev (87)
        • NowInAndroid (7)
        • NaimanProject (0)
        • Compose (21)
        • Navigation (4)
        • Google Billing API (4)
        • Test Firebase Chatting App (12)
        • Login API 정리 (0)
        • Error logs (0)
      • 코틀린(Kotlin, Java) (14)
      • Swift (12)
        • codingTest (0)
      • Spring Boot (1)
      • Scala (3)
      • Js (0)
      • Programming Theory (13)
        • Functional Programming (2)
        • Design Pattern (0)
        • Generics (3)
        • 비동기 패러다임(Asynchronous Para.. (0)
        • 코루틴(Coruotine) (8)
        • Rxjava (0)
      • 파이어베이스(Firebase) (0)
      • 프로그래밍 팁 (1)
      • SystemVerilog (2)
      • Adobe (4)
        • 포토 일러스트레이터 (4)
        • Premiere pro (0)
      • Github 팁 (3)
      • RiscV (2)
        • Wake (1)
      • Linux (2)
      • CSS (4)
      • 회사 관련 (0)
  • 홈
  • 태그
  • 방명록
Android Dev/Compose

Dagger Hilt Testing Error - error: cannot find symbol @ScopeMetadata, @QualifierMetadata

https://stackoverflow.com/questions/71328577/dagger-hilt-testing-error-error-cannot-find-symbol-scopemetadata-qualifier implementation 'com.google.dagger:dagger:2.41' kapt 'com.google.dagger:dagger-compiler:2.41' 를 추가해준다

2022. 3. 10. 23:36
Android Dev/Compose

jcenter() deprecated에 따른 repository파일 부재(bad gate way) 문제 해결(ex : ucrop)

오픈소스가 더이상 업데이트 되지 않는 경우, 해당 파일을 로컬 바이너리 종속성으로 추가하여 관리할 필요성이 생길수 있다. 이에 따라 jar, aar파일을 해당 라이브러리 경로에서 다운받고 모듈의 하위 패키지를 하나 만든 뒤(예: libs) 여기에 aar과 jar파일 등을 implemenation하면된다. 아래와 같은 경로를 dependencies에 추가해준다 implementation files( 'libs/ucrop-2.2.6-native.aar', 'libs/ucrop-2.2.6-native-sources.jar' ) 혹은 implementation fileTree(dir : 'libs', include: ['*.jar']) 위와 같이 모든 파일을 포함할 수 도 있다.

2022. 3. 4. 01:25
Android Dev/Compose

Classes trial, variable initializing

Classes | Kotlin kotlinlang.org 1. 아래 primary 생성자을 사용한 변수 선언방법은 동일하다. (consteructor를 생략가능) class Person constructor(firstName: String) { /*...*/ } class Person(firstName: String) { /*...*/ } 2. Class 정의시에 매개변수를 val, var 없이 사용하는 경우. open class Test(val val0 : Int){ fun fun0(){ println(val0) } } 위의 코드에서 fun1()에 val1을 할당하는 것은 불가능하다. val/var를 생성자에서 생략하면 매개변수에 액세스할 수 있는 유일한 위치는 생성 시 평가되는 init block 이..

2022. 2. 28. 13:21
Android Dev/Compose

Coroutines 잊기 쉬운 개념 정리

1. async { } 과 launch { } 차이 1>async는 return값이 존재한다. launch는 return 이 없다 2>async는 Deffered이며, launch 는 Job이다. 3>Deffered는 await() method를 지원함 2. job이 끝나는 시점은 join() 호출 이후가 된다. 3. 만약 다수의 job이 동시에 끝난 이후 어떤 작업을 하고자한다면 listOf(x,y,~~~).joinAll() 을 호출하면됨

2022. 2. 4. 00:54
Android Dev/Compose

Compose - fragment/navigation Trial

주의 : 아래와 같이 프래그먼트와 혼용시 setContent { } 를 호출하면 fragment binding이 다 무시되고 compose만 호출되는 문제가 생길수 있다 이를 해결하기 위해서는 binding된 xml에 아래를 선언하고 composeView를 아래와 같이 선언해야한다 override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) // DataBindingUtil.setContentView(this, R.layout.main) val binding = MainBinding.inflate(layoutInflater) setContentView(binding.root) binding.composeVie..

2021. 12. 26. 01:06
Android Dev/Compose

compose에서 statusbar color(header 등) 변경

https://stackoverflow.com/questions/65610216/how-to-change-statusbar-color-in-jetpack-compose how to change statusbar color in jetpack compose? how to make status bar color transparent in compose like here: it has the same color but with a little bit shade. stackoverflow.com implementation "com.google.accompanist:accompanist-systemuicontroller:0.17.0" val systemUiController = rememberSystemUiCon..

2021. 12. 15. 03:23
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ···
  • 15
  • »

공지사항

전체 카테고리

  • 분류 전체보기 (176)
    • Daily Records (0)
    • Coding Test 관련(with Kotlin) (0)
    • Android Dev (87)
      • NowInAndroid (7)
      • NaimanProject (0)
      • Compose (21)
      • Navigation (4)
      • Google Billing API (4)
      • Test Firebase Chatting App (12)
      • Login API 정리 (0)
      • Error logs (0)
    • 코틀린(Kotlin, Java) (14)
    • Swift (12)
      • codingTest (0)
    • Spring Boot (1)
    • Scala (3)
    • Js (0)
    • Programming Theory (13)
      • Functional Programming (2)
      • Design Pattern (0)
      • Generics (3)
      • 비동기 패러다임(Asynchronous Para.. (0)
      • 코루틴(Coruotine) (8)
      • Rxjava (0)
    • 파이어베이스(Firebase) (0)
    • 프로그래밍 팁 (1)
    • SystemVerilog (2)
    • Adobe (4)
      • 포토 일러스트레이터 (4)
      • Premiere pro (0)
    • Github 팁 (3)
    • RiscV (2)
      • Wake (1)
    • Linux (2)
    • CSS (4)
    • 회사 관련 (0)
애드센스 광고 영역
  • 최근 글
  • 최근 댓글

최근 글

최근댓글

태그

MORE

전체 방문자

오늘
어제
전체

블로그 인기글

Powered by Privatenote Copyright © Computer Hippocampus All rights reserved. TistoryWhaleSkin3.4

티스토리툴바