https://github.com/osfunapps/weedle-android-core-library
an android library which implements weedleApps core modules
https://github.com/osfunapps/weedle-android-core-library
Last synced: 2 months ago
JSON representation
an android library which implements weedleApps core modules
- Host: GitHub
- URL: https://github.com/osfunapps/weedle-android-core-library
- Owner: osfunapps
- Created: 2018-05-04T18:59:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T22:02:34.000Z (about 8 years ago)
- Last Synced: 2025-03-23T04:45:09.408Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
Designed by [WeedleApps](https://weedleapps.co.il/en/), this library meant to pack the core essentiatls resources for building a modern android app.
Designed in DI style with dagger 2.1.
# Specifications
- wrappers
- activity and fragment modules
- local repository handling
# Install
add the gradle dependency:
```compile 'com.github.osfunapps:weedle-android-core-library:v1.0.2' ```
# Usage
1) add the library module **WeedleLibraryBuilder::class** to your app component.
Example:
```
@Singleton
@Component(modules = [
AndroidSupportInjectionModule::class,
AppModule::class,
ActivityBuilder::class,
WeedleLibraryBuilder::class])
```
2) in your Application file specify which elements you desire to use in the library.
Example:
```
class App : DaggerApplication() {
override fun onCreate() {
WeedleLibInitializer.withFabric = false
WeedleLibInitializer.sharedPrefsName = "itzik"
super.onCreate()
}
```