|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .allstar/ | H | 25-Apr-2025 | - | 5 | 2 |
| .github/ | H | 25-Apr-2025 | - | 813 | 628 |
| .idea/ | H | 25-Apr-2025 | - | 187 | 184 |
| adaptive/ | H | 25-Apr-2025 | - | 4,420 | 3,434 |
| appcompat-theme/ | H | 25-Apr-2025 | - | 1,345 | 702 |
| docs/ | H | 25-Apr-2025 | - | 3,009 | 2,191 |
| drawablepainter/ | H | 25-Apr-2025 | - | 321 | 201 |
| flowlayout/ | H | 25-Apr-2025 | - | 3,115 | 2,634 |
| gradle/ | H | 25-Apr-2025 | - | 122 | 95 |
| images/ | H | 25-Apr-2025 | - | | |
| insets-ui/ | H | 25-Apr-2025 | - | 1,417 | 1,067 |
| internal-testutils/ | H | 25-Apr-2025 | - | 327 | 146 |
| navigation-animation/ | H | 25-Apr-2025 | - | 1,035 | 665 |
| navigation-material/ | H | 25-Apr-2025 | - | 1,962 | 1,409 |
| pager/ | H | 25-Apr-2025 | - | 3,386 | 2,311 |
| pager-indicators/ | H | 25-Apr-2025 | - | 1,190 | 838 |
| permissions/ | H | 25-Apr-2025 | - | 1,871 | 1,189 |
| permissions-lint/ | H | 25-Apr-2025 | - | 925 | 555 |
| placeholder/ | H | 25-Apr-2025 | - | 1,177 | 798 |
| placeholder-material/ | H | 25-Apr-2025 | - | 408 | 220 |
| placeholder-material3/ | H | 25-Apr-2025 | - | 407 | 220 |
| release/ | H | 25-Apr-2025 | - | 48 | 9 |
| sample/ | H | 25-Apr-2025 | - | 8,028 | 6,177 |
| scripts/ | H | 25-Apr-2025 | - | 110 | 72 |
| spotless/ | H | 25-Apr-2025 | - | 67 | 56 |
| swiperefresh/ | H | 25-Apr-2025 | - | 1,195 | 774 |
| systemuicontroller/ | H | 25-Apr-2025 | - | 2,215 | 1,479 |
| testharness/ | H | 25-Apr-2025 | - | 1,235 | 767 |
| themeadapter-appcompat/ | H | 25-Apr-2025 | - | 1,236 | 627 |
| themeadapter-core/ | H | 25-Apr-2025 | - | 707 | 484 |
| themeadapter-material/ | H | 25-Apr-2025 | - | 1,772 | 1,097 |
| themeadapter-material3/ | H | 25-Apr-2025 | - | 1,670 | 1,080 |
| web/ | H | 25-Apr-2025 | - | 2,157 | 1,501 |
| .gitignore | H A D | 25-Apr-2025 | 635 | 45 | 36 |
| ASSETS_LICENSE.txt | H A D | 25-Apr-2025 | 4 KiB | 88 | 71 |
| Android.bp | H A D | 25-Apr-2025 | 159 | 11 | 9 |
| CONTRIBUTING.md | H A D | 25-Apr-2025 | 1.6 KiB | 42 | 29 |
| LICENSE | H A D | 25-Apr-2025 | 11.1 KiB | 202 | 169 |
| METADATA | H A D | 25-Apr-2025 | 880 | 17 | 14 |
| MODULE_LICENSE_APACHE2 | HD | 25-Apr-2025 | 0 | | |
| OWNERS | H A D | 25-Apr-2025 | 51 | 2 | 1 |
| README.md | H A D | 25-Apr-2025 | 7.5 KiB | 143 | 99 |
| build.gradle | H A D | 25-Apr-2025 | 8.1 KiB | 226 | 196 |
| checksum.sh | H A D | 25-Apr-2025 | 1.1 KiB | 39 | 16 |
| generate_docs.sh | H A D | 25-Apr-2025 | 1.3 KiB | 45 | 14 |
| gradle.properties | H A D | 25-Apr-2025 | 1.8 KiB | 54 | 42 |
| gradlew | H A D | 25-Apr-2025 | 8.3 KiB | 246 | 101 |
| gradlew.bat | H A D | 25-Apr-2025 | 2.8 KiB | 93 | 71 |
| mkdocs.yml | H A D | 25-Apr-2025 | 2.6 KiB | 105 | 94 |
| settings.gradle.kts | H A D | 25-Apr-2025 | 1.5 KiB | 54 | 34 |
README.md
1
2
3Accompanist is a group of libraries that aim to supplement [Jetpack Compose][compose] with features that are commonly required by developers but not yet available.
4
5Accompanist is a labs like environment for new Compose APIs. We use it to help fill known gaps in the Compose toolkit, experiment with new APIs and to gather insight into the development experience of developing a Compose library. The goal of these libraries is to upstream them into the official toolkit, at which point they will be deprecated and removed from Accompanist.
6
7For more details like, why does this library exist? Why is it not part of AndroidX? Will you be releasing more libraries? Check out our [Accompanist FAQ](https://medium.com/p/b55117b02712).
8
9## Compose versions
10
11Each [release](https://github.com/google/accompanist/releases) outlines what version of the Compose UI libraries it depends on. We are currently releasing multiple versions of Accompanist for the different versions of Compose:
12
13<table>
14 <tr>
15 <td>Compose 1.0 (1.0.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions?versionPrefix=0.20"></td>
16 </tr>
17 <tr>
18 <td>Compose 1.1 (1.1.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions?versionPrefix=0.23"></td>
19 </tr>
20 <tr>
21 <td>Compose UI 1.2 (1.2.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions?versionPrefix=0.25"></td>
22 </tr>
23 <tr>
24 <td>Compose UI 1.3 (1.3.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions?versionPrefix=0.28"></td>
25 </tr>
26 <tr>
27 <td>Compose UI 1.4 (1.4.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions?versionPrefix=0.30"></td>
28 </tr>
29 <tr>
30 <td>Compose UI 1.5 (1.5.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions?versionPrefix=0.32"></td>
31 </tr>
32 <tr>
33 <td>Compose UI 1.6 (1.6.x)</td><td><img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-permissions"></td>
34 </tr>
35</table>
36
37For stable versions of Compose, we use the latest *stable* version of the Compose compiler. For non-stable versions (alpha, beta, etc), we use the latest compiler at the time of release.
38
39> :warning: **Ensure you are using the Accompanist version that matches with your Compose UI version**: If you upgrade Accompanist, it will upgrade your Compose libraries version via transitive dependencies.
40
41## Libraries
42
43### [Permissions](./permissions/)
44A library that provides [Android runtime permissions][runtimepermissions] support for Jetpack Compose.
45
46### ️ [Navigation-Material](./navigation-material/)
47A library which provides [Compose Material](https://developer.android.com/jetpack/androidx/releases/compose-material) support, such as modal bottom sheets, for Jetpack Navigation Compose.
48
49### ️ [Drawable Painter](./drawablepainter/)
50A library which provides a way to use Android Drawables as Jetpack Compose Painters.
51
52### [Adaptive](./adaptive/)
53A library providing a collection of utilities for adaptive layouts.
54
55### [Test Harness](./testharness/)
56Utilities for testing Compose layouts.
57
58### ⬇️ [Swipe to Refresh](./swiperefresh/) (Deprecated)
59See our [Migration Guide](https://google.github.io/accompanist/swiperefresh/) for migrating to PullRefresh in Compose Material.
60
61### [AppCompat Theme Adapter](./appcompat-theme/) (Deprecated)
62See our [Migration Guide](https://google.github.io/accompanist/appcompat-theme/) for migrating to the new artifact in Accompanist.
63
64### [Pager](./pager/) (Deprecated)
65See our [Migration Guide](https://google.github.io/accompanist/pager/) for migrating to Pager in Compose.
66
67### [Flow Layouts](./flowlayout/) (Deprecated)
68See our [Migration Guide](https://google.github.io/accompanist/flowlayout/) for migrating to FlowLayout in Compose.
69
70### ✨[Navigation-Animation](./navigation-animation/) (Deprecated)
71See our [Migration Guide](https://google.github.io/accompanist/navigation-animation/) for migrating to using built in support for animations in Jetpack Navigation Compose.
72
73### ⏳ [Placeholder](./placeholder/) (Deprecated)
74A library that provides easy-to-use modifiers for displaying a placeholder UI while content is loading.
75
76### [System UI Controller](./systemuicontroller/) (Deprecated)
77We recommend migrating to edge to edge. See our [Migration Guide](https://google.github.io/accompanist/systemuicontroller/) for more details.
78
79### [AppCompat Theme Adapter](./themeadapter-appcompat/) (Deprecated)
80A library that enables the reuse of [AppCompat][appcompat] XML themes, for theming in Jetpack Compose.
81
82### [Material Theme Adapter](./themeadapter-material/) (Deprecated)
83A library that enables the reuse of [MDC-Android][mdc] Material 2 XML themes, for theming in Jetpack Compose.
84
85### [Material 3 Theme Adapter](./themeadapter-material3/) (Deprecated)
86A library that enables the reuse of [MDC-Android][mdc] Material 3 XML themes, for theming in Jetpack Compose.
87
88### [Web](./web/) (Deprecated)
89A wrapper around WebView for basic WebView support in Jetpack Compose.
90
91### [Insets](./insets/) (Deprecated & Removed)
92See our [Migration Guide](https://google.github.io/accompanist/insets/) for migrating to Insets in Compose.
93
94---
95
96## Future?
97
98Any of the features available in this group of libraries may become obsolete in the future, at which point they will (probably) become deprecated.
99
100We will aim to provide a migration path (where possible), to whatever supersedes the functionality.
101
102## Snapshots
103
104Snapshots of the current development version of Accompanist are available, which track the latest commit. See [here](docs/using-snapshot-version.md) for more information.
105
106---
107
108### Why the name?
109
110The library is all about adding some utilities around Compose. Music composing is done by a
111composer, and since this library is about supporting composition, the supporting role of an [accompanist](https://en.wikipedia.org/wiki/Accompaniment) felt like a good name.
112
113## Contributions
114
115Please contribute! We will gladly review any pull requests.
116Make sure to read the [Contributing](CONTRIBUTING.md) page first though.
117
118## License
119
120```
121Copyright 2020 The Android Open Source Project
122
123Licensed under the Apache License, Version 2.0 (the "License");
124you may not use this file except in compliance with the License.
125You may obtain a copy of the License at
126
127 https://www.apache.org/licenses/LICENSE-2.0
128
129Unless required by applicable law or agreed to in writing, software
130distributed under the License is distributed on an "AS IS" BASIS,
131WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
132See the License for the specific language governing permissions and
133limitations under the License.
134```
135
136[appcompat]: https://developer.android.com/jetpack/androidx/releases/appcompat
137[compose]: https://developer.android.com/jetpack/compose
138[snap]: https://oss.sonatype.org/content/repositories/snapshots/com/google/accompanist/
139[mdc]: https://github.com/material-components/material-components-android
140[windowinsets]: https://developer.android.com/reference/kotlin/android/view/WindowInsets
141[viewpager]: https://developer.android.com/reference/kotlin/androidx/viewpager/widget/ViewPager
142[runtimepermissions]: https://developer.android.com/guide/topics/permissions/overview
143