Skip to content

Releases: connyduck/SparkButton

SparkButton Compose 1.0.0 alpha 2

13 Mar 13:12
Compare
Choose a tag to compare
Pre-release

The Api changed to be similar to androidx.compose.material3.IconToggleButton, see the Readme for the updated usage explanation.

The Android compileSdk is now 34, and SparkButton Compose now depends on Kotlin 1.9.22 and androidx.compose.foundation 1.6.3.

SparkButton Compose 1.0.0 alpha 1

11 Sep 19:37
c355a88
Compare
Choose a tag to compare
Pre-release

Initial release of SparkButton for Jetpack Compose.

implementation("at.connyduck.sparkbutton:sparkbutton-compose:1.0.0-alpha1")

Docs: https://github.com/connyduck/SparkButton/tree/main/sparkbutton-compose

SparkButton 4.2.0

10 Sep 07:48
66e5be4
Compare
Choose a tag to compare

SparkButton is now released to MavenCentral and no longer to Jitpack. The group id changed to at.connyduck.sparkbutton.

Add the repository in your root build.gradle if you haven't already:

allprojects {
    repositories {
        ...
+        mavenCentral()
    }
}

Then change the dependency:

dependencies {
    ...
-    implementation("com.github.connyduck:sparkbutton:4.1.0")
+    implementation("at.connyduck.sparkbutton:sparkbutton:4.2.0")
}

Dependency Upgrades:

  • SparkButton now depends on androidx.appcompat:appcompat:1.6.1

SparkButton 4.1.0

21 Oct 16:21
Compare
Choose a tag to compare

Dependency upgrades:

  • Gradle 6.7
  • Android Gradle Plugin 4.1.0
  • androidx.appcompat:appcompat:1.2.0

SparkButton 4.0.0

02 Mar 18:30
ab06bbc
Compare
Choose a tag to compare

Breaking changes:

SparkEventListener.onEvent now takes a return value that controls if the button state should change and the animation should play or not. The buttonState boolean parameter is now set to the old state of the button.

SparkButton 3.0.0

16 Nov 21:06
Compare
Choose a tag to compare
  • onEventAnimationEnd and onEventAnimationStart have been removed from SparkEventListener
  • the first parameter of onEvent of SparkEventListener is now SparkButton instead of ImageView
  • activeImageTint and inactiveImageTint have been removed from the xml attributes
  • performance improvements

SparkButton 2.0.1

27 Jul 19:14
Compare
Choose a tag to compare
  • performance improvements

SparkButton 2.0.0

16 Nov 18:02
Compare
Choose a tag to compare
  • migrated to AndroidX

SparkButton 1.0.1

20 Jul 21:04
Compare
Choose a tag to compare
  • improved ram usage, init and drawing performance
  • added nullability annotation to utils method

SparkButton 1.0.0

26 Apr 20:14
Compare
Choose a tag to compare
rename attributes