My playground to play around with Jetpack compose
RecursionLoop.kt |
DockedBottomBar.kt |
Stairs.kt |
---|---|---|
Graph.kt |
Telegram-like Reveal Effect on toggling theme, see CircularRevealEffect.kt |
|
Also, there is a Work-in-progress DraggableColumn/Row DraggableColumn.kt
DraggableRow.kt
respectively.
Demo of DraggableColumn.kt
's API
@Preview(widthDp = 360, heightDp = 640)
@Composable
fun DraggableColumnDemo() {
val state = rememberDragState(itemsNum = 15)
DraggableColumn(state = state, itemSpacing = 20.dp) {
Button(onClick = { /*TODO*/ }, modifier = Modifier.size(96.dp, 48.dp)) {
Text(text = "Button $currentItemIndex")
}
}
}
Copyright [2021] [MR3YY]
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
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.