1. 首页
  2. 移动开发
  3. 其他
  4. material motion compose:Jetpack Compose的Material Motion 源码

material motion compose:Jetpack Compose的Material Motion 源码

上传者: 2021-04-08 16:33:08上传 ZIP文件 4.99MB 热度 20次
Jetpack Compose的Material Motion Jetpack Compose库,用于在Android的Material Components中实现。 用法 该库提供了对“材料”规范中定义的支持。 共享轴 val (screen, onScreenChanged) = remember { mutableStateOf( .. .) } SharedAxis ( targetState = screen, axis = Axis . X , forward = true , slideDistance = 30 .dp // (optional) ) { newScreen -> // composable according to screen } // or MaterialMotion ( targetState =
用户评论