Git Product home page Git Product logo

accompanist's Introduction

Accompanist logo

Accompanist is a group of libraries that aim to supplement Jetpack Compose with features that are commonly required by developers but not yet available.

Accompanist 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.

For 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.

Compose versions

Each release 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:

Compose 1.0 (1.0.x)Maven Central
Compose 1.1 (1.1.x)Maven Central
Compose UI 1.2 (1.2.x)Maven Central
Compose UI 1.3 (1.3.x)Maven Central

For 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.

⚠️ 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.

Libraries

A library that provides easy-to-use utilities for recoloring the Android system bars from Jetpack Compose.

A library that enables the reuse of AppCompat XML themes for theming in Jetpack Compose.

πŸ“– Pager

A library that provides utilities for building paginated layouts in Jetpack Compose, similar to Android's ViewPager.

πŸ“« Permissions

A library that provides Android runtime permissions support for Jetpack Compose.

A library that provides easy-to-use modifiers for displaying a placeholder UI while content is loading.

🌊 Flow Layouts

A library that adds Flexbox-like layout components to Jetpack Compose.

🧭✨Navigation-Animation

A library which provides Compose Animation support for Jetpack Navigation Compose.

🧭🎨️ Navigation-Material

A library which provides Compose Material support, such as modal bottom sheets, for Jetpack Navigation Compose.

πŸ–ŒοΈ Drawable Painter

A library which provides a way to use Android Drawables as Jetpack Compose Painters.

⬇️ Swipe to Refresh

A library that provides a layout implementing the swipe-to-refresh UX pattern, similar to Android's SwipeRefreshLayout.

🌏 Web

A wrapper around WebView for basic WebView support in Jetpack Compose.

πŸ“œ Adaptive

A library providing a collection of utilities for adaptive layouts.

πŸ“ Insets (Deprecated)

See our Migration Guide for migrating to Insets in Compose.


Future?

Any of the features available in this group of libraries may become obsolete in the future, at which point they will (probably) become deprecated.

We will aim to provide a migration path (where possible), to whatever supersedes the functionality.

Snapshots

Snapshots of the current development version of Accompanist are available, which track the latest commit. See here for more information.


Why the name?

The library is all about adding some utilities around Compose. Music composing is done by a composer, and since this library is about supporting composition, the supporting role of an accompanist felt like a good name.

Contributions

Please contribute! We will gladly review any pull requests. Make sure to read the Contributing page first though.

License

Copyright 2020 The Android Open Source Project
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

accompanist's People

Contributors

alexvanyo avatar andkulikov avatar ansman avatar arkon avatar bentrengrove avatar ch4rl3x avatar chachako avatar chrisbanes avatar fornewid avatar ianhanniballake avatar jbw0033 avatar josealcerreca avatar jossiwolf avatar ln-12 avatar mxalbert1996 avatar nickbutcher avatar numeroanddev avatar omico avatar onefivefour avatar probot-auto-merge[bot] avatar rlatapy-luna avatar sampengilly avatar skydoves avatar svenjacobs avatar troyhen avatar whitescent avatar wthee avatar xiaozhikang0916 avatar yasincidem avatar yrezgui avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.