noties / Adapt

RecyclerView.Adapter only shorter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

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

implementation "io.noties:adapt:${adaptVersion}"
implementation "io.noties:adapt-ui:${adaptVersion}"
implementation "io.noties:adapt-ui-flex:${adaptVersion}"

AdaptUI

🚧 All showcase previews can be accessed via dedicate page

🚧 Documentation might still be a bit lacking, but most of the features in adapt-ui module come with a dedicated sample class file. What better can explain the functionality than the code, right? ;)

Adapt

gif XML layout-preview

🚧 Documentation might still be a bit lacking, but most of the features in adapt module come with a dedicated sample class file. What better can explain the functionality than the code, right? ;)

License

  Copyright 2021 Dimitry Ivanov (legal@noties.io)

  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

      http://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.

About

RecyclerView.Adapter only shorter

License:Apache License 2.0


Languages

Language:Kotlin 77.3%Language:Java 22.5%Language:JavaScript 0.2%