Il tuo feedback ci aiuta a migliorare Jetpack. Non esitare a contattarci in caso di nuovi problemi o
idee per migliorare questa raccolta. Dai un'occhiata alle
problemi esistenti
in questa raccolta, prima di crearne uno nuovo. Puoi aggiungere il tuo voto a un problema esistente tramite
facendo clic sul pulsante a forma di stella.
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]