Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeluchu/jchucomponents
Library of common components for applications developed by Jéluchu focused on those with a Jetpack Compose core
https://github.com/jeluchu/jchucomponents
android android-library component-library jetpack jetpack-android jetpack-compose kotlin library
Last synced: about 2 months ago
JSON representation
Library of common components for applications developed by Jéluchu focused on those with a Jetpack Compose core
- Host: GitHub
- URL: https://github.com/jeluchu/jchucomponents
- Owner: jeluchu
- Created: 2021-08-13T22:08:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T14:12:56.000Z (5 months ago)
- Last Synced: 2024-08-20T16:17:03.977Z (5 months ago)
- Topics: android, android-library, component-library, jetpack, jetpack-android, jetpack-compose, kotlin, library
- Language: Kotlin
- Homepage: https://about.jeluchu.com/jchucomponents/
- Size: 13.3 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Cover Library Image](https://raw.githubusercontent.com/Jeluchu/jchucomponents-compose/develop/images/cover.png)
# Jchucomponents for Android## Introduction
This library is intended to facilitate the work of developers so that they can make applications in a faster way and with less code. That is why in addition to having design components (Compose), it also includes various functions and extensions with which to accelerate the development of applications from scratch, or current, as well as including components for the implementation of architectures (MVVM) or perform various common functions.
## Use Library
In the repository it is not only the library project but also the example project "sample_client";
thanks to it you will learn how to use the library.
*There are different ways of adding this library to your code*
### Gradle / Maven dependency
At the moment we do not have a publishing mechanism to a maven repository so the easiest way to add the library to your app is via a JitPack Dependency [![](https://jitpack.io/v/jeluchu/jchucomponents.svg)](https://jitpack.io/#jeluchu/jchucomponents)
>
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}Add the **jchucomponents** dependencies, it include jchucomponents-core library and its library dependencies.
>
// build.gradledependencies {
implementation 'com.github.jeluchu.jchucomponents:jchucomponents-core:1.x.x'
}
or>
// build.gradle.ktsdependencies {
implementation("com.github.jeluchu.jchucomponents:jchucomponents-core:1.x.x")
}If you want to get the design components in Jetpack Compose, you will need to include jchucomponents-ui library and its library dependencies
>
// build.gradle
dependencies {
implementation 'com.github.jeluchu.jchucomponents:jchucomponents-ui:1.x.x'
}
or>
// build.gradle.ktsdependencies {
implementation("com.github.jeluchu.jchucomponents:jchucomponents-ui:1.x.x")
}
If you want to get the extensions, you will need to include jchucomponents-ktx library and its library dependencies>
// build.gradle
dependencies {
implementation 'com.github.jeluchu.jchucomponents:jchucomponents-ktx:1.x.x'
}
or>
// build.gradle.ktsdependencies {
implementation("com.github.jeluchu.jchucomponents:jchucomponents-ktx:1.x.x")
}
## Versions prior to v1Versions released prior to v1.x.x can still be used although it is not recommended due to the lack of optimizations and the lack of documentation for those versions, in case you want to use it, remember that the implementation is not the same as the current one
### Old implementation
**For Gradle:**
Add the maven repository:
>
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}Add the **jchucomponents-compose** dependencies
***Gradle:***
>
dependencies {
implementation 'com.github.Jeluchu:jchucomponents-compose:0.10.0'
}**For Kotlin DSL:**
Add the maven repository:
allprojects {
repositories {
...
maven("https://jitpack.io")
}
}Add the **jchucomponents-compose** dependencies
>
dependencies {
implementation("com.github.Jeluchu:jchucomponents-compose:0.10.0")
}These versions used `JavaVersion.VERSION_17` please take this into account to adjust your project with the compatible versions as it may cause problems when compiling your project
```
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
```### As a git submodule
Basically get this code and compile it having it integrated via a git submodule:
1. go into your own apps directory on the command line and add this lib as a submodule: ```git submodule add https://github.com/jeluchu/jchucomponents jeluchu-jchucomponents```
2. Import/Open your app in Android Studio
## Development process
For the development of new features by the developer community, the following steps will be followed, the review of the issues will be in charge of the official contributors of the library
* Create an **issue with feature request**
* **Review** of the feature request or issue and analyze it
* Development of new features
* Documentation of new features
* Create [pull request](https://github.com/jeluchu/jchucomponents/pulls)## Compatibility
JchuComponents is compatible with newer versions of Android Studio, and includes support for `JavaVersion.VERSION_17` and **recent targets for the latest versions of Android**
## Contributors ✨
Here are the **main contributors to the Android library**,