Connect with us

Code

SpinDot – A DotLoadersPack-Android fork with additional features and fixes

This library is a heavily modified fork of DotLoadersPack-Android.

Usage

To use this library, add jitpack to your project’s repositories:

maven { url "https://jitpack.io" }

And then add the following dependency to your build.gradle file:

implementation 'com.github.hristogochev:spindot:1.0.0'

Features

  • 10 different dot loaders.
  • Full compatibility with Jetpack Compose.
  • Full compatibility with XML.

Differences with the original

  • Only available for API 21 and forward.
  • The CircularDots and LinearDots loaders are missing and will be added later.
  • Each loader is now available for Jetpack Compose.
  • Additional optimizations have been applied resulting in smoother experience.
  • You can now disable the automatic playing of animations and control it manually.
  • Animations only play while visible, otherwise they automatically stop to save resources.
  • Project has been updated to the newest Kotlin and Compose versions.
SpinDot on GitHub: https://github.com/hristogochev/spindot
Platform: Android
⭐️: 9
Advertisement

Trending