Dein Feedback hilft uns, Jetpack zu verbessern. Teilen Sie uns mit, wenn Sie neue Ausgaben entdecken oder
zur Verbesserung dieser Bibliothek. In der
bestehende Probleme
in dieser Bibliothek, bevor Sie eine neue erstellen. So können Sie für ein vorhandenes Problem abstimmen:
indem Sie auf die Sternschaltfläche klicken.
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[],null,["# Databinding\n===========\n\n[User Guide](/topic/libraries/data-binding) [Code Sample](https://github.com/android/databinding-samples) [Codelab](https://codelabs.developers.google.com/codelabs/android-databinding) \nAPI Reference \n[android.databinding](/reference/android/databinding/package-summary) \nBind UI components in your layouts to data sources in your app using a declarative format. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-------------------|-------------------------------------------------------|-------------------|--------------|-----------------------------------------------------------------------|\n| September 5, 2019 | [3.5.0](/jetpack/androidx/releases/databinding#3.5.0) | - | - | [3.6.0-alpha10](/jetpack/androidx/releases/databinding#3.6.0-alpha10) |\n\nThe databinding library is bundled with\n[the Android Gradle plugin](/studio/releases/gradle-plugin).\nYou do not need to declare a dependency on the\nlibrary, but you must enable it.\n\nTo enable data binding, set the `dataBinding` build option to `true` in your\nmodule's `build.gradle` file, as shown below: \n\n android {\n ...\n buildFeatures {\n dataBinding true\n }\n }\n\n| **Note:** You must enable data binding for all modules that depend on libraries that use data binding, even if the module doesn't directly use data binding.\n\nFor more information about data binding,\nsee the guide to the [data binding library](/topic/libraries/data-binding),\nand the Android Studio [release notes](/studio/releases)\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:192721%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=192721&template=1096850)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information."]]