android-beans

A dependency injection library for Java Android apps.

License

License

MIT
GroupId

GroupId

rocks.frieler.android
ArtifactId

ArtifactId

android-beans
Last Version

Last Version

0.7.0
Release Date

Release Date

Type

Type

aar
Description

Description

android-beans
A dependency injection library for Java Android apps.
Project URL

Project URL

https://github.com/christopherfrieler/android-beans
Source Code Management

Source Code Management

https://github.com/christopherfrieler/android-beans

Download android-beans

How to add to project

<!-- https://jarcasting.com/artifacts/rocks.frieler.android/android-beans/ -->
<dependency>
    <groupId>rocks.frieler.android</groupId>
    <artifactId>android-beans</artifactId>
    <version>0.7.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/rocks.frieler.android/android-beans/
implementation 'rocks.frieler.android:android-beans:0.7.0'
// https://jarcasting.com/artifacts/rocks.frieler.android/android-beans/
implementation ("rocks.frieler.android:android-beans:0.7.0")
'rocks.frieler.android:android-beans:aar:0.7.0'
<dependency org="rocks.frieler.android" name="android-beans" rev="0.7.0">
  <artifact name="android-beans" type="aar" />
</dependency>
@Grapes(
@Grab(group='rocks.frieler.android', module='android-beans', version='0.7.0')
)
libraryDependencies += "rocks.frieler.android" % "android-beans" % "0.7.0"
[rocks.frieler.android/android-beans "0.7.0"]

Dependencies

runtime (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.31
org.jetbrains.kotlin : kotlin-reflect jar 1.4.31
androidx.lifecycle » lifecycle-extensions jar 2.2.0

Project Modules

There are no modules declared in this project.

Android Beans

Build-Pipeline Quality Gate Status

A dependency injection library for Android apps, that aims for:

  • Power - Provide the full power of dynamic dependency injection at runtime to allow e.g. injection of all implementations of a certain interface or injecting your custom implementation into another library.
  • Cleanness - Your beans are just plain Kotlin or Java objects. No need to implement interfaces or pollute them with annotations from the framework.
  • Simplicity - Allow users to define and inject their beans straight forward without the need for too complex structures as e.g. the components, modules and scopes seen with other DI frameworks.
  • Kotlin- and Java-Support - Although Android Beans itself is written in Kotlin, it also offers a convenient API for Java apps going beyond the Kotlin's Java interoperability. You can even use it apps with mixed sources or during migrations from Java to Kotlin.

Usage

To use Android Beans in your app, follow the User-Manual.

Contributing and Developing

If you have an idea, problem or question about Android Beans you can open an issue.

If you want to clone the repository and work on the code have a look at the DEVELOPING.md.

Versions

Version
0.7.0
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.0