Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
wydajność
Zapewnia adnotacje źródła na potrzeby optymalizacji wydajności.
Ostatnia aktualizacja |
Wersja stabilna |
Wersja kandydująca |
Wersja Beta |
Wersja alfa |
15 stycznia 2025 r. |
- |
- |
- |
1.0.0-alpha01 |
Deklarowanie zależności
Aby dodać zależność od wydajności, musisz dodać repozytorium Google Maven do projektu. Więcej informacji znajdziesz w repozytorium Maven firmy Google.
Dodaj zależności dla artefaktów, których potrzebujesz, w pliku build.gradle
aplikacji lub modułu:
Odlotowe
dependencies {
//TODO: Confirm these dependencies
implementation "androidx.performance:performance:1.0.0-alpha01"
}
Kotlin
dependencies {
//TODO: Confirm these dependencies
implementation("androidx.performance:performance:1.0.0-alpha01")
}
Więcej informacji o zależnościach znajdziesz w artykule Dodawanie zależności kompilacji.
Opinia
Twoja opinia pomoże nam ulepszyć Jetpacka. Daj nam znać, jeśli zauważysz nowe problemy lub masz pomysły na ulepszenie tej biblioteki. Zanim utworzysz nowy problem, zapoznaj się z dotychczasowymi problemami w tej bibliotece. Możesz zagłosować na istniejący problem, klikając przycisk z gwiazdką.
Tworzenie nowego zgłoszenia
Więcej informacji znajdziesz w dokumentacji narzędzia Issue Tracker.
Nie ma informacji o wersji tego artefaktu.
Wersja 1.0
Wersja 1.0.0-alpha01
15 stycznia 2025 r.
androidx.performance:performance-*:1.0.0-alpha01
został zwolniony. Wersja 1.0.0-alpha01 zawiera te komisy.
- Te biblioteki dodają zestaw mechanizmów zgodności z platformą przeznaczonych tylko do użytku wewnętrznego w androidx. Te biblioteki są używane tylko jako zależności implementacji.
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# performance\n===========\n\nAPI Reference \n[androidx.performance](/reference/kotlin/androidx/performance/package-summary) \nProvides source annotations for performance optimizations. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|------------------|----------------|-------------------|--------------|-----------------------------------------------------------------------|\n| January 15, 2025 | - | - | - | [1.0.0-alpha01](/jetpack/androidx/releases/performance#1.0.0-alpha01) |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on performance, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n //TODO: Confirm these dependencies\n implementation \"androidx.performance:performance:1.0.0-alpha01\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n //TODO: Confirm these dependencies\n implementation(\"androidx.performance:performance:1.0.0-alpha01\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\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:1709068%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=1709068&template=2081980)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nThere are no release notes for this artifact.\n\nVersion 1.0\n-----------\n\n### Version 1.0.0-alpha01\n\nJanuary 15, 2025\n\n`androidx.performance:performance-*:1.0.0-alpha01` is released. Version 1.0.0-alpha01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/ad66672b42ec1e9359219e82b7f8189d03df40f5/performance).\n\n- These libraries add a set of platform compatibility mechanisms intended for androidx internal use only. These libraries are used as implementation dependencies only."]]