Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Set of annotations that aims to make your Android development experience easier along with lint checks.

License

Notifications You must be signed in to change notification settings

KaustubhPatange/AutoBindings

Repository files navigation

AutoBindings

build Maven Central

This project is Discontinued as such logic for creating RecyclerView adapters, TypeConverters for Room or SQLDelight can easily be abstracted into an abstract class. No need to use code generation.


AutoBindings is a set of annotations which will make Android development easier by eliminating boilerplate codes.

Usage

Library currently supports

You can find some set of extra compiler options here.

Download

implementation 'io.github.kaustubhpatange:autobindings-recyclerview:<version>' // For Recyclerview bindings
implementation 'io.github.kaustubhpatange:autobindings-room:<version>' // For Room bindings
implementation 'io.github.kaustubhpatange:autobindings-sqldelight:<version>' // For SQLDelight bindings

implementation "io.github.kaustubhpatange:autobindings-room-noop:<version>" // For general use of typeconverters if you don't depend on Room

// Kotlin
apply plugin: 'kotlin-kapt' // at top of your module build.gradle file
kapt 'io.github.kaustubhpatange:autobindings-compiler:<version>'
// Java
annotationProcessor 'io.github.kaustubhpatange:autobindings-compiler:<version>'

Resources

License

Copyright 2020 Kaustubh Patange

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.