Elves-Android

Elves is a Clean Framework based in Bolts used at idealista

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

com.idealista
ArtifactId

ArtifactId

elves-android
Last Version

Last Version

0.0.13
Release Date

Release Date

Type

Type

aar
Description

Description

Elves-Android
Elves is a Clean Framework based in Bolts used at idealista
Project URL

Project URL

https://github.com/idealista-tech/Elves-Android
Source Code Management

Source Code Management

https://github.com/idealista-tech/Elves-Android

Download elves-android

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.android.support » appcompat-v7 jar 25.4.0
com.android.support » recyclerview-v7 jar 25.4.0

Project Modules

There are no modules declared in this project.

Elves

Elves is an Android Clean Framework which helps to implement clean architecture into your project. It was designed by Idealista to use internally, and now we are open sourcing these libraries to make them available for anyone that want to use and/or contribute.

Elves framework it's divided into two libraries elves and elves-android, surprisingly, android-free and android dependant libraries.

Elves includes:

  • "UseCases", an interface that define MVP use cases. It represents the logic of the application.
  • "CommandUis", a Callback to be used to handle the response of the UseCase.
  • "Commands", it encapsulate the execution of UseCase and it's callback CommandUi.
  • "Lists", interface and default implementation to wrap plain lists into a list objects.
  • "Tasks", which makes organization of complex asynchronous code more manageable. It's a fork of Bolts decoupling its Android reference.

Elves-Android includes:

  • "App", class that extends Android Application to initialize the elves components.
  • "Navigators", interface that defines the Navigator pattern used in Elves.
  • "Adapter", adapter implementation that cover the simplest solution for ui lists.
  • "Presenter", base implementation for all presenters.
  • "Activity", base implementation for all Activities.
  • "View", base interface for all Views
  • "CustomView", base implementation for all CustomViews

Download

Download the lates elves JARs and the lates elves-android JARs or define in Gradle:

dependencies {
  compile 'com.idealista:elves:0.0.1'
  compile 'com.idealista:elves-android:0.0.1'
}

Snapshots of the development version are available in Sonatype's snapshots repository.

Versions

Version
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1