• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

Transformations 가 import가 안됩니다!!

23.07.19 23:41 작성 조회수 358

0

현재 이 버전의 Lifecycle을 사용중인데 혹시

Transfomations가 Unresolved reference 에러가

나는 이유를 알 수 있을까요 ?

implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"

답변 2

·

답변을 작성해보세요.

1

danc님의 프로필

danc

2024.02.19

2.6.0 버전부터 Transformations 말고 .map이나 .switchMap을 바로 사용해야 한다고 하네요.

https://stackoverflow.com/questions/75465435/unresolved-reference-transformations-after-upgrading-lifecycle-dependency

0

코드를 구글 드라이브에 올리시고 링크를 공유해주시면 살펴보겠습니다.