tag:github.com,2008:https://github.com/connyduck/SparkButton/releasesRelease notes from SparkButton2025-10-07T18:33:18Ztag:github.com,2008:Repository/99484189/sparkbutton-compose-v1.0.0-beta12025-10-07T18:52:06ZSparkbutton Compose 1.0.0 beta 1<ul>
<li>new api, check the <a href="https://github.com/connyduck/SparkButton/blob/sparkbutton-compose-v1.0.0-beta1/sparkbutton-compose/README.md">Readme</a> for the updated usage explanation.</li>
</ul>
<p>SparkButton Compose now depends on Kotlin 2.2.20 and androidx.compose.foundation 1.9.2.</p>connyducktag:github.com,2008:Repository/99484189/sparkbutton-compose-v1.0.0-alpha22024-03-13T13:12:53ZSparkButton Compose 1.0.0 alpha 2<p>The Api changed to be similar to <a href="https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary#IconToggleButton(kotlin.Boolean,kotlin.Function1,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.material3.IconToggleButtonColors,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)" rel="nofollow"><code>androidx.compose.material3.IconToggleButton</code></a>, see the <a href="https://github.com/connyduck/SparkButton/blob/sparkbutton-compose-v1.0.0-alpha2/sparkbutton-compose/README.md">Readme</a> for the updated usage explanation.</p>
<p>The Android compileSdk is now 34, and SparkButton Compose now depends on Kotlin 1.9.22 and androidx.compose.foundation 1.6.3.</p>connyducktag:github.com,2008:Repository/99484189/sparkbutton-compose-v1.0.0-alpha12023-09-11T19:37:19ZSparkButton Compose 1.0.0 alpha 1<p>Initial release of SparkButton for Jetpack Compose.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="implementation("at.connyduck.sparkbutton:sparkbutton-compose:1.0.0-alpha1")"><pre class="notranslate"><code>implementation("at.connyduck.sparkbutton:sparkbutton-compose:1.0.0-alpha1")
</code></pre></div>
<p>Docs: <a href="https://github.com/connyduck/SparkButton/tree/main/sparkbutton-compose">https://github.com/connyduck/SparkButton/tree/main/sparkbutton-compose</a></p>connyducktag:github.com,2008:Repository/99484189/sparkbutton-v4.2.02023-09-10T07:50:43ZSparkButton 4.2.0<p>SparkButton is now released to MavenCentral and no longer to Jitpack. The group id changed to <code>at.connyduck.sparkbutton</code>.</p>
<p>Add the repository in your root build.gradle if you haven't already:</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="allprojects {
repositories {
...
+ mavenCentral()
}
}"><pre>allprojects {
repositories {
...
<span class="pl-mi1"><span class="pl-mi1">+</span> mavenCentral()</span>
}
}</pre></div>
<p>Then change the dependency:</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dependencies {
...
- implementation("com.github.connyduck:sparkbutton:4.1.0")
+ implementation("at.connyduck.sparkbutton:sparkbutton:4.2.0")
}"><pre>dependencies {
...
<span class="pl-md"><span class="pl-md">-</span> implementation("com.github.connyduck:sparkbutton:4.1.0")</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> implementation("at.connyduck.sparkbutton:sparkbutton:4.2.0")</span>
}</pre></div>
<h2>Dependency Upgrades:</h2>
<ul>
<li>SparkButton now depends on <code>androidx.appcompat:appcompat:1.6.1</code></li>
</ul>connyducktag:github.com,2008:Repository/99484189/4.1.02020-10-21T16:21:43ZSparkButton 4.1.0<p>Dependency upgrades:</p>
<ul>
<li>Gradle 6.7</li>
<li>Android Gradle Plugin 4.1.0</li>
<li><code>androidx.appcompat:appcompat:1.2.0</code></li>
</ul>connyducktag:github.com,2008:Repository/99484189/4.0.02020-03-02T18:30:32ZSparkButton 4.0.0<p>Breaking changes:</p>
<p><code>SparkEventListener.onEvent</code> now takes a return value that controls if the button state should change and the animation should play or not. The <code>buttonState</code> boolean parameter is now set to the old state of the button.</p>connyducktag:github.com,2008:Repository/99484189/3.0.02019-11-16T21:06:32ZSparkButton 3.0.0<ul>
<li><code>onEventAnimationEnd</code> and <code>onEventAnimationStart</code> have been removed from <code>SparkEventListener</code></li>
<li>the first parameter of <code>onEvent</code> of <code>SparkEventListener</code> is now <code>SparkButton</code> instead of <code>ImageView</code></li>
<li><code>activeImageTint</code> and <code>inactiveImageTint</code> have been removed from the xml attributes</li>
<li>performance improvements</li>
</ul>connyducktag:github.com,2008:Repository/99484189/2.0.12019-07-27T19:14:31ZSparkButton 2.0.1<ul>
<li>performance improvements</li>
</ul>connyducktag:github.com,2008:Repository/99484189/2.0.02018-11-16T18:02:11ZSparkButton 2.0.0<ul>
<li>migrated to AndroidX</li>
</ul>connyducktag:github.com,2008:Repository/99484189/1.0.12018-07-20T21:04:59ZSparkButton 1.0.1<ul>
<li>improved ram usage, init and drawing performance</li>
<li>added nullability annotation to utils method</li>
</ul>connyduck