Installation
Installation guide for Loadify.
Getting started with Loadify is straightforward! Follow the steps below to integrate this library into your Android project.
Prerequisites
Before adding Loadify to your project, ensure you have the following:
- Android Studio: Version 4.1 or higher.
- Gradle: Version 7.0 or higher for optimal compatibility.
- Internet Connectivity: To download dependencies during Gradle sync.
- Kotlin: Loadify is written in Kotlin, so enable Kotlin support in your project.
If you're unsure how to set up Kotlin, follow this guide.
Changelog
Version v1.0.6
- Initial release with 5 loader components.
- Support for customizable attributes.
- Compatible with Android API 21+.
Installation Steps
Step 1: Add the JitPack Repository
Add the following repository to your project-level build.gradle or settings.gradle file inside the repositories block:
maven { url 'https://jitpack.io' }
Example for settings.gradle:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Step 2: Add the Dependency
Add the following dependency to your app's build.gradle file inside the dependencies block:
implementation("com.github.Harry2876:Loadify:$version")
for Example
implementation("com.github.Harry2876:Loadify:v1.0.6")
Replace $version with the latest version of the library. You can find the latest version on the GitHub Releases Page.
Step 3: Sync Your Gradle Project
After adding the dependency and JitPack repository, sync your Gradle project to ensure that the library is added successfully. You can do this by clicking the Sync Now button in the notification bar or selecting:
File > Sync Project with Gradle Files
Once the sync is complete, the library will be ready to use in your project.
Next Steps
After successfully integrating Loadify, you can start using its customizable loaders in your app. Refer to the Usage Guide for detailed examples and customization options.
For any issues during installation, feel free to create an issue on our GitHub Repository.
Thank you for choosing Loadify to enhance your Android application's user experience!