Appoly's Android development toolbox - a collection of utilities and components to accelerate Android app development
AppolyDroid Toolbox is a comprehensive collection of Android utility modules that simplify common development tasks. The library provides ready-to-use solutions for:
- API data handling with
BaseRepo
- AWS S3 file uploading
- Date/time operations
- UI state management
- Snackbar notifications
- Jetpack Compose pagination utilities
- And more!
Add the JitPack repository to your project build file:
dependencyResolutionManagement {
repositories {
...
maven {
url = uri("https://jitpack.io")
}
}
}
or in your settings.gradle
with:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
In your libs.versions.toml
file:
[versions]
appolydroidToolbox = "1.0.21" # Replace with the latest version
[libraries]
#AppolyDroid-Toolbox
appolydroid-toolbox-baseRepo = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "BaseRepo", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-baseRepo-s3 = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "BaseRepo-S3Uploader", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-baseRepo-paging = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "BaseRepo-Paging", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-dateHelper = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "DateHelperUtil", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-dateHelper-room = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "DateHelperUtil-Room", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-dateHelper-serialization = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "DateHelperUtil-Serialization", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-uiState = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "UiState", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-appSnackBar = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "AppSnackBar", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-appSnackBar-uiState = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "AppSnackBar-UiState", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-lazyListPagingExtensions = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "LazyListPagingExtensions", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-lazyGridPagingExtensions = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "LazyGridPagingExtensions", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-s3Uploader = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "S3Uploader", version.ref = "appolydroidToolbox" }
appolydroid-toolbox-compose-extensions = { group = "com.github.appoly.AppolyDroid-Toolbox", name = "ComposeExtensions", version.ref = "appolydroidToolbox" }
Then in your module's build.gradle.kts
:
dependencies {
// Add only the modules you need
implementation(libs.appolydroid.toolbox.baseRepo)
implementation(libs.appolydroid.toolbox.baseRepo.s3)
implementation(libs.appolydroid.toolbox.baseRepo.paging)
implementation(libs.appolydroid.toolbox.dateHelper)
implementation(libs.appolydroid.toolbox.dateHelper.room)
implementation(libs.appolydroid.toolbox.dateHelper.serialization)
implementation(libs.appolydroid.toolbox.uiState)
implementation(libs.appolydroid.toolbox.appSnackBar)
implementation(libs.appolydroid.toolbox.appSnackBar.uiState)
implementation(libs.appolydroid.toolbox.lazyListPagingExtensions)
implementation(libs.appolydroid.toolbox.lazyGridPagingExtensions)
implementation(libs.appolydroid.toolbox.s3Uploader)
implementation(libs.appolydroid.toolbox.compose.extensions)
}
In your module's build.gradle.kts
:
dependencies {
// Add only the modules you need
implementation("com.github.appoly.AppolyDroid-Toolbox:BaseRepo:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:BaseRepo-S3Uploader:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:BaseRepo-Paging:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:DateHelperUtil:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:DateHelperUtil-Room:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:DateHelperUtil-Serialization:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:UiState:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:AppSnackBar:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:AppSnackBar-UiState:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:LazyListPagingExtensions:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:LazyGridPagingExtensions:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:S3Uploader:1.0.21")
implementation("com.github.appoly.AppolyDroid-Toolbox:ComposeExtensions:1.0.21")
}
Foundation for repository pattern implementation with API call handling. Learn more
Extension to BaseRepo adding S3 upload capabilities. Learn more
Extends BaseRepo with Jetpack Paging capabilities. Learn more
Utilities for date and time operations. Learn more
Room database integration for DateHelperUtil. Learn more
Kotlinx Serialization support for DateHelperUtil. Learn more
Simplified UI state management. Learn more
Enhanced Snackbar implementation. Learn more
Integration of AppSnackBar with UiState. Learn more
Extensions for Jetpack Compose LazyList with paging support. Learn more
Extensions for Jetpack Compose LazyGrid with paging support. Learn more
Standalone S3 file upload utility. Learn more
Some modules depend on FlexiLogger for logging capabilities.
MIT License
Copyright (c) 2025 Appoly Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.