Skip to content
项目

jeanboydev/Android-LuckyMonkeyPanel

在 GitHub 查看

关于

:tiger::video_game:幸运转盘,类似老虎机的抽奖活动效果。

创作与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Android-LuckyMonkeyPanel

简介

幸运转盘,类似老虎机的抽奖活动效果。

圆形转盘详见:https://github.com/jeanboydev/Android-WheelFortune

截图

  • gif比较模糊可以看下视频演示

视频演示效果

使用

开始

lucky_panel.startGame();

停止

int stayIndex = new Random().nextInt(8);//这里为了演示取得随机数
lucky_panel.tryToStop(stayIndex);//stayIndex 为最后停止的位置

关于我

如果对你有帮助,请 star 一下,然后 follow 我,给我增加一下分享动力,谢谢!

如果你有什么疑问或者问题,可以提交 issue 和 request,发邮件给我 [email protected] 。

或者加入下面的 QQ 群来一起学习交流。

Android技术进阶:386463747

License

Copyright 2017 jeanboy

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.

探索相关项目

加载中…