tag:github.com,2008:https://github.com/connyduck/SparkButton/releases Release notes from SparkButton 2025-10-07T18:33:18Z tag:github.com,2008:Repository/99484189/sparkbutton-compose-v1.0.0-beta1 2025-10-07T18:52:06Z Sparkbutton 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> connyduck tag:github.com,2008:Repository/99484189/sparkbutton-compose-v1.0.0-alpha2 2024-03-13T13:12:53Z SparkButton 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> connyduck tag:github.com,2008:Repository/99484189/sparkbutton-compose-v1.0.0-alpha1 2023-09-11T19:37:19Z SparkButton 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(&quot;at.connyduck.sparkbutton:sparkbutton-compose:1.0.0-alpha1&quot;)"><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> connyduck tag:github.com,2008:Repository/99484189/sparkbutton-v4.2.0 2023-09-10T07:50:43Z SparkButton 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(&quot;com.github.connyduck:sparkbutton:4.1.0&quot;) + implementation(&quot;at.connyduck.sparkbutton:sparkbutton:4.2.0&quot;) }"><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> connyduck tag:github.com,2008:Repository/99484189/4.1.0 2020-10-21T16:21:43Z SparkButton 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> connyduck tag:github.com,2008:Repository/99484189/4.0.0 2020-03-02T18:30:32Z SparkButton 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> connyduck tag:github.com,2008:Repository/99484189/3.0.0 2019-11-16T21:06:32Z SparkButton 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> connyduck tag:github.com,2008:Repository/99484189/2.0.1 2019-07-27T19:14:31Z SparkButton 2.0.1 <ul> <li>performance improvements</li> </ul> connyduck tag:github.com,2008:Repository/99484189/2.0.0 2018-11-16T18:02:11Z SparkButton 2.0.0 <ul> <li>migrated to AndroidX</li> </ul> connyduck tag:github.com,2008:Repository/99484189/1.0.1 2018-07-20T21:04:59Z SparkButton 1.0.1 <ul> <li>improved ram usage, init and drawing performance</li> <li>added nullability annotation to utils method</li> </ul> connyduck