Skip to content

jeanboydev/Android-LuckyMonkeyPanel

Repository files navigation

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,发邮件给我 jeanboy@foxmail.com

或者加入下面的 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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages