https://github.com/redmadrobot/gears-android
Small though useful libraries to build Android apps
https://github.com/redmadrobot/gears-android
android extensions kotlin ktx
Last synced: 8 days ago
JSON representation
Small though useful libraries to build Android apps
- Host: GitHub
- URL: https://github.com/redmadrobot/gears-android
- Owner: RedMadRobot
- License: mit
- Created: 2020-10-24T07:34:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T05:58:53.000Z (8 months ago)
- Last Synced: 2025-03-28T02:21:45.542Z (26 days ago)
- Topics: android, extensions, kotlin, ktx
- Language: Kotlin
- Homepage:
- Size: 501 KB
- Stars: 30
- Watchers: 10
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gears :gear:
[][ci]
[][license]**Gears** – small libraries used in red_mad_robot to build awesome Android applications.
Gears could be used together or alone.---
- [Libraries](#libraries)
- [Why Gears?](#why-gears)
- [Contribution](#contribution)
- [License](#license)## Libraries
### :gear: **[Gears](gears/)**
- [][gears-compose] — A set of gears for Jetpack Compose
- [][gears-kotlin] — A set of gears for Kotlin### :hammer_and_wrench: **[red_mad_robot Android KTX](ktx/)**
- [][core-ktx] — Extensions in addition to androidx core-ktx
- [][fragment-ktx] — A set of extensions in addition to androidx fragment-ktx
- [][fragment-args-ktx] — Delegates for safe dealing with fragments' arguments
- [][lifecycle-livedata-ktx] — Extended set of extensions for dealing with `LiveData`
- [][resources-ktx] — A set of extensions for accessing resources
- [][viewbinding-ktx] — A set of extensions for dealing with ViewBinding### :mag_right: **[ViewModelEvents](viewmodelevents/)**
- [][viewmodelevents-compose] — A set of extensions for dealing with ViewModelEvents inside `@Composable` functions
- [][viewmodelevents-flow] — An implementation of ViewModelEvents via `Flow`
- [][viewmodelevents-livedata] — An implementation of ViewModelEvents via `LiveData`### :hourglass_flowing_sand: **[Result Flow](resultflow/)** 
A couple of extensions to convert long operations into `Flow>`.
## Why Gears?
The goal of this mono-repository is to simplify the creation and publication of libraries.
These libraries, which we're calling "gears," are small but important parts of our tech stack that we want to share between our projects.Libraries may be initially developed here and then moved out from this repository as part of their lifecycle.
Large libraries or those with unique build infrastructure should be moved into a separate repository.## Contribution
Merge requests are welcome.
For major changes, open a [discussion][discussions] first to discuss what you would like to change.## License
[MIT][license]
[core-ktx]: ktx/core-ktx/
[fragment-ktx]: ktx/fragment-ktx/
[fragment-args-ktx]: ktx/fragment-args-ktx/
[lifecycle-livedata-ktx]: ktx/lifecycle-livedata-ktx/
[resources-ktx]: ktx/resources-ktx/
[viewbinding-ktx]: ktx/viewbinding-ktx/
[license]: LICENSE[gears-compose]: gears/gears-compose
[gears-kotlin]: gears/gears-kotlin[viewmodelevents-compose]: viewmodelevents/viewmodelevents-compose/
[viewmodelevents-flow]: viewmodelevents/viewmodelevents-flow/
[viewmodelevents-livedata]: viewmodelevents/viewmodelevents-livedata/[ci]: https://github.com/RedMadRobot/gears-android/actions?query=branch%3Amain++
[discussions]: https://github.com/RedMadRobot/gears-android/discussions