Skip to content

Instantly share code, notes, and snippets.

@musenkishi
musenkishi / Artboard.kt
Created February 2, 2025 18:10
Example code to use Rive animations as icons within interactive UI elements, like buttons
abstract class Artboard(val name: String) {
val stateMachine = "stateMachine"
}
@musenkishi
musenkishi / GridRecyclerView
Created November 4, 2014 16:10
GridRecyclerView. A Grid-specific RecyclerView that can use gridLayoutAnimation.
/*
* Copyright (C) 2014 Freddie (Musenkishi) Lust-Hed
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software