Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noties/adapt
RecyclerView.Adapter only shorter
https://github.com/noties/adapt
android recyclerview recyclerview-adapter
Last synced: about 2 months ago
JSON representation
RecyclerView.Adapter only shorter
- Host: GitHub
- URL: https://github.com/noties/adapt
- Owner: noties
- License: apache-2.0
- Created: 2018-06-24T11:40:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T00:03:27.000Z (2 months ago)
- Last Synced: 2024-10-22T19:51:53.793Z (2 months ago)
- Topics: android, recyclerview, recyclerview-adapter
- Language: Kotlin
- Size: 15.5 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Adapt & AdaptUI
__Adapt__ is a UI library to create decoupled widget components. They can be
used in a `RecyclerView`, `ListView`, inside a `LinearLayout` or used directly as a `View` interchangeably,
no code involved. One `Item` to rule them all. Layout preview enabled.__AdaptUI__ is en enhanced Android view DSL builder that brings together dynamism
and flexibility of __Adapt__ to native Android views. It aims to provide convenience
and peace of mind for developers, meanwhile fixing pain points
of Android XML - missing composability, reuse and customization. They are all included out of box.
It is a _disappearing_
view and layout builder that gives total control of created views, without imposing any
limitations or forcing the use of certain tools or compilers. A view is a view. As it should have been.## Install
[![adapt](https://img.shields.io/maven-central/v/io.noties/adapt.svg?label=adapt)](http://search.maven.org/#search|ga|1|g%3A%22io.noties%22%20AND%20a%3A%22adapt%22)
```gradle
implementation "io.noties:adapt:${adaptVersion}"
implementation "io.noties:adapt-ui:${adaptVersion}"
implementation "io.noties:adapt-ui-flex:${adaptVersion}"
```## [AdaptUI](./adapt-ui/README.md)
🚧 All showcase previews can be accessed via [dedicate page](./PREVIEW_SHOWCASE.md)
🚧 Documentation might still be a bit lacking, but most of the features in `adapt-ui` module
come with a [dedicated sample](./sample/src/main/java/io/noties/adapt/sample/samples) class file.
What better can explain the functionality than the code, right? ;)## [Adapt](./adapt/README.md)
![gif](./art/preview.gif)
![XML layout-preview](./art/layout_preview.png)🚧 Documentation might still be a bit lacking, but most of the features in `adapt` module
come with a [dedicated sample](./sample/src/main/java/io/noties/adapt/sample/samples) class file.
What better can explain the functionality than the code, right? ;)## License
```
Copyright 2021 Dimitry Ivanov ([email protected])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 athttp://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.
```