קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Arch Core
עוזר ליחסי תלות אחרים של קשתות, כולל כללי בדיקה של JUnit שניתן להשתמש בהם ב-LiveData.
העדכון האחרון |
גרסה יציבה |
גרסה מועמדת להפצה |
גרסת בטא |
גרסה אלפא |
22 בפברואר 2023 |
2.2.0 |
- |
- |
- |
משוב
המשוב שלך עוזר לנו לשפר את Jetpack. אם נתקלתם בבעיות חדשות או שיש לכם רעיונות לשיפור הספרייה הזו, נשמח לשמוע מכם. לפני שיוצרים בעיה חדשה, כדאי לעיין בבעיות הקיימות בספרייה הזו. כדי להצביע על בעיה קיימת, לוחצים על לחצן הכוכב.
דיווח על בעיה חדשה
מידע נוסף זמין במסמכי התיעוד של Issue Tracker.
גרסה 2.2
גרסה 2.2.0
22 בפברואר 2023
androidx.arch.core:core-common:2.2.0
, androidx.arch.core:core-runtime:2.2.0
ו-androidx.arch.core:core-testing:2.2.0
שוחררו. גרסה 2.2.0 כוללת את השינויים האלה.
שינויים חשובים מאז גרסה 2.1.0
- הוספנו את האפשרות הנכונה לאפשרות ה-null לממשקי API רבים שבעבר לא צוין אם הם
@NonNull
או @Nullable
. יכול להיות שהקוד לא תואם למקור אם קוד Kotlin שלכם הניח שהערך יכול להיות null.
גרסה 2.2.0-rc01
8 בפברואר 2023
androidx.arch.core:core-common:2.2.0-rc01
, androidx.arch.core:core-runtime:2.2.0-rc01
ו-androidx.arch.core:core-testing:2.2.0-rc01
פורסמו ללא שינויים. גרסה 2.2.0-rc01 כוללת את ההצהרות האלה.
גרסה 2.2.0-beta01
25 בינואר 2023
androidx.arch.core:core-common:2.2.0-beta01
, androidx.arch.core:core-runtime:2.2.0-beta01
ו-androidx.arch.core:core-testing:2.2.0-beta01
מתפרסמים ללא שינוי. גרסה 2.2.0-beta01 מכילה את ההצהרות האלה.
גרסה 2.2.0-alpha01
11 בינואר 2023
androidx.arch.core:core-common:2.2.0-alpha01
, androidx.arch.core:core-runtime:2.2.0-alpha01
ו-androidx.arch.core:core-testing:2.2.0-alpha01
שוחררו. גרסה 2.2.0-alpha01 מכילה את התחייבויות אלה.
שינויים ב-API
גרסה
גרסה
5 בספטמבר 2019
התכונות androidx.arch.core:core-common:2.1.0
, androidx.arch.core:core-runtime:2.1.0
וגם androidx.arch.core:core-testing:2.1.0
משוחררות. כאן אפשר למצוא את ההתחייבויות (commits) שכלולות בגרסה הזו.
אין שינויים ציבוריים משמעותיים מאז גרסה 2.0.1
גרסה 2.1.0-rc01
2 ביולי 2019
הגרסאות androidx.arch.core:core-common:2.1.0-rc01
, androidx.arch.core:core-runtime:2.1.0-rc01
ו-androidx.arch.core:core-testing:2.1.0-rc01
פורסמו ללא שינויים מ-2.1.0-beta01
. כאן אפשר למצוא את ההתחייבויות (commits) שכלולות בגרסה הזו.
גרסה 2.1.0-beta01
7 במאי 2019
androidx.arch.core:*:2.1.0-beta01
משוחרר. כאן אפשר למצוא את ההתחייבויות (commits) שכלולות בגרסה הזו.
שינויים ב-API
- שינוי שגורם לשינוי משמעותי: הכיתה
Cancellable
, שהוצאה משימוש בעבר, הוסרה. (aosp/952616)
גרסה 2.1.0-alpha02
25 באפריל 2019
androidx.arch.core:*:2.1.0-alpha02
משוחרר. אפשר למצוא כאן את ההתחייבות שכלולה בגרסה הזו.
שינויים ב-API
גרסה 2.1.0-alpha01
3 באפריל 2019
androidx.arch.core:*:2.1.0-alpha01
משוחרר. אפשר למצוא כאן את ההתחייבות שכלולה בגרסה הזו.
תכונות חדשות
גרסה 2.0.1
גרסה 2.0.1
22 במרץ 2019
גרסה 2.0.1 של קבוצת הארטיפקטים androidx.arch.core
פורסמה עם שינוי אחד:
- מספר השרשורים המקסימלי ב-ArchiveExecutor גדל מ-2 ל-4.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","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 (שעון UTC)."],[],[],null,["# Arch Core\n=========\n\nAPI Reference \n[androidx.arch.core.executor.testing](/reference/kotlin/androidx/arch/core/executor/testing/package-summary) \n[androidx.arch.core.util](/reference/kotlin/androidx/arch/core/util/package-summary) \nHelper for other arch dependencies, including JUnit test rules that can be used with LiveData. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-------------------|-----------------------------------------------------|-------------------|--------------|---------------|\n| February 22, 2023 | [2.2.0](/jetpack/androidx/releases/arch-core#2.2.0) | - | - | - |\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:197448%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=197448&template=878802)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 2.2\n-----------\n\n### Version 2.2.0\n\nFebruary 22, 2023\n\n`androidx.arch.core:core-common:2.2.0`, `androidx.arch.core:core-runtime:2.2.0`, and `androidx.arch.core:core-testing:2.2.0` are released. [Version 2.2.0 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/e4d01e766eec76322a514a161797b8189f4b194b..d00300b06c00dbf348f871980400948cdf7b10dc/arch/core)\n\n**Important changes since 2.1.0**\n\n- Added the correct nullability to many APIs that previously did not specify whether they were `@NonNull` or `@Nullable`. This may be source incompatible if your Kotlin code was assuming the wrong nullability.\n\n### Version 2.2.0-rc01\n\nFebruary 8, 2023\n\n`androidx.arch.core:core-common:2.2.0-rc01`, `androidx.arch.core:core-runtime:2.2.0-rc01`, and `androidx.arch.core:core-testing:2.2.0-rc01` are released with no changes. [Version 2.2.0-rc01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/e5dad1e7d1c225f89f7c2d5a39a7a0de8d637d7b..e4d01e766eec76322a514a161797b8189f4b194b/arch/core)\n\n### Version 2.2.0-beta01\n\nJanuary 25, 2023\n\n`androidx.arch.core:core-common:2.2.0-beta01`, `androidx.arch.core:core-runtime:2.2.0-beta01`, and `androidx.arch.core:core-testing:2.2.0-beta01` are released with no changes. [Version 2.2.0-beta01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/adf1c279a86ab3886e1666c08e2c3efba783367b..e5dad1e7d1c225f89f7c2d5a39a7a0de8d637d7b/arch/core)\n\n### Version 2.2.0-alpha01\n\nJanuary 11, 2023\n\n`androidx.arch.core:core-common:2.2.0-alpha01`, `androidx.arch.core:core-runtime:2.2.0-alpha01`, and `androidx.arch.core:core-testing:2.2.0-alpha01` are released. [Version 2.2.0-alpha01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/4b0aad67b0808159e777de3df1dfd347071e366f..adf1c279a86ab3886e1666c08e2c3efba783367b/arch/core)\n\n**API Changes**\n\n- Added the correct nullability to many APIs that previously did not specify whether they were `@NonNull` or `@Nullable`. This may be source incompatible if your Kotlin code was assuming the wrong nullability. ([I34b6b](https://android-review.googlesource.com/#/q/I34b6b636572f1bce61d38af563b4a989aa108f82), [b/236472329](https://issuetracker.google.com/issues/236472329), [b/236472101](https://issuetracker.google.com/issues/236472101), [b/236472102](https://issuetracker.google.com/issues/236472102), [b/236471987](https://issuetracker.google.com/issues/236471987), [b/236472078](https://issuetracker.google.com/issues/236472078), [b/236472176](https://issuetracker.google.com/issues/236472176), [b/236471905](https://issuetracker.google.com/issues/236471905), [b/236472103](https://issuetracker.google.com/issues/236472103))\n\nVersion 2.1.0\n-------------\n\n### Version 2.1.0\n\nSeptember 5, 2019\n\n`androidx.arch.core:core-common:2.1.0`, `androidx.arch.core:core-runtime:2.1.0`, and `androidx.arch.core:core-testing:2.1.0` are released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/031e16ab465321fba520b9977ed2972def14b7de..4b0aad67b0808159e777de3df1dfd347071e366f/arch).\n\nNo notable public changes changes since 2.0.1\n\n### Version 2.1.0-rc01\n\nJuly 2, 2019\n\n`androidx.arch.core:core-common:2.1.0-rc01`, `androidx.arch.core:core-runtime:2.1.0-rc01`, and `androidx.arch.core:core-testing:2.1.0-rc01` are released with no changes from `2.1.0-beta01`. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/fbdc0c35696b2e1ee3216e3e8c397aeb1abe4311..031e16ab465321fba520b9977ed2972def14b7de/arch).\n\n### Version 2.1.0-beta01\n\nMay 7, 2019\n\n`androidx.arch.core:*:2.1.0-beta01` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/c5af1d83cdaec5dff1d4bdefe93d0a24bd1fec89..fbdc0c35696b2e1ee3216e3e8c397aeb1abe4311/arch).\n\n**API changes**\n\n- Breaking change: the previously deprecated `Cancellable` class has been removed. ([aosp/952616](https://android-review.googlesource.com/952616))\n\n### Version 2.1.0-alpha02\n\nApril 25, 2019\n\n`androidx.arch.core:*:2.1.0-alpha02` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/479525251389167f9bed63ec4e1485a2ceec0aa7..1d1a928881b4a7a75a85ab5b723cc81c829f1c83/arch).\n\n**API Changes**\n\n- The `Cancellable` interface has been deprecated due to a lack of composable infrastructure and its removal from public API in [androidx.activity 1.0.0-alpha07](/jetpack/androidx/releases/activity#1.0.0-alpha07). ([aosp/945461](https://android-review.googlesource.com/945461))\n\n### Version 2.1.0-alpha01\n\nApril 3, 2019\n\n`androidx.arch.core:*:2.1.0-alpha01` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/845cc95561b0c5370e341e6d7640afeda55718a2..479525251389167f9bed63ec4e1485a2ceec0aa7/arch).\n\n**New features**\n\n- Added a new `Cancellable` interface to `core-common` to represent cancellable operations. See [androidx.activity 1.0.0-alpha05](/jetpack/androidx/releases/activity#1.0.0-alpha05). ([aosp/922523](https://android-review.googlesource.com/922523))\n\nVersion 2.0.1\n-------------\n\n### Version 2.0.1\n\nMarch 22, 2019\n\nVersion 2.0.1 of the `androidx.arch.core` artifact group is released with a single adjustment:\n\n- Maximum number of threads in the ArchExecutor is increased from 2 to 4."]]