행복한 내 이야기

  • 홈
  • 태그
  • 방명록

observablefield 1

[Android] LiveData와 DataBinding의 양방향 바인딩 시 발생하는 오류 해결하기

문제 상황안드로이드 개발에서 LiveData와 DataBinding을 결합해 양방향 바인딩을 구현하려고 할 때 아래와 같은 오류가 발생할 수 있다.The expression 'userViewModelInputText.getValue()' cannot be inverted, so it cannot be used in a two-way bindingDetails: There is no inverse for method getValue, you must add an @InverseMethod annotation to the method to indicate which method should be used when using it in two-way binding expressions이 오류는 EditText..

Android 2024.11.16
이전
1
다음
더보기
프로필사진

행복한 내 이야기

  • 분류 전체보기 (120)
    • Android (35)
      • 오르다 다이어리 (11)
      • Nature Album (4)
      • Compose (7)
    • Kotlin (20)
    • Java (24)
    • Python (4)
    • IT (7)
    • Spring (2)
    • C++ (2)
    • CS (3)
    • UnrealEngine5인데 언리얼 엔진 4 레이.. (3)
    • 코딩테스트 (10)
      • 프로그래머스 (3)
      • SWEA (3)
      • 코딩 테스트 합격자 되기 : 자바편 (4)
    • 내 이야기 (2)
      • 꿈꾸는 도서관 (1)
      • 카페인 설탕 버터 밀가루 카카오 견과류 과일 (1)
      • 101세에 초 101개 한 숨으로 불어 끄기 (0)

Tag

Android, Livedata, 자바, recomposition, 오블완, java, bindingadapter, kotlin, SQLite, compose, 코루틴, OS, DataBinding, composable, viewBinding, 프로그래머스, ViewModel, 티스토리챌린지, 코테, 리팩토링,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/06   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바