تساعدنا ملاحظاتك في تحسين Jetpack. يُرجى إعلامنا إذا اكتشفت مشاكل جديدة أو كان لديك
أفكار لتحسين هذه المكتبة. يُرجى إلقاء نظرة على
المشاكل الحالية
في هذه المكتبة قبل إنشاء مكتبة جديدة. يمكنك إضافة تصويتك إلى مشكلة حالية عن طريق
بالنقر فوق زر النجمة.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]