Releases: connyduck/SparkButton
Sparkbutton Compose 1.0.0 beta 1
- new api, check the Readme for the updated usage explanation.
SparkButton Compose now depends on Kotlin 2.2.20 and androidx.compose.foundation 1.9.2.
SparkButton Compose 1.0.0 alpha 2
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
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
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
Dependency upgrades:
- Gradle 6.7
- Android Gradle Plugin 4.1.0
androidx.appcompat:appcompat:1.2.0
SparkButton 4.0.0
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
onEventAnimationEndandonEventAnimationStarthave been removed fromSparkEventListener- the first parameter of
onEventofSparkEventListeneris nowSparkButtoninstead ofImageView activeImageTintandinactiveImageTinthave been removed from the xml attributes- performance improvements
SparkButton 2.0.1
- performance improvements
SparkButton 2.0.0
- migrated to AndroidX
SparkButton 1.0.1
- improved ram usage, init and drawing performance
- added nullability annotation to utils method