Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SuperLike

> 编程语言
Open source

今日头条点赞动画 连击动画

378 stars0 likes0 views
WebsiteGitHub

About

今日头条点赞动画 连击动画

SuperLike

仿今日头条点赞喷射表情动画

主要用于点赞防抖事件的交互提示,这里只提供交互View 防抖功能可以根据Rx自行实现

演示

使用

compile 'com.sum.slike:library:0.2.1'

参数含义

  自定义属性名字
  参数含义






  eruption_element_amount
  一次喷射的element数量




  max_eruption_total
  最大同时喷射次数




    show_emoji
    是否显示Emoji表情喷射动画




    show_text
    是否显示Combo文字

代码演示

1.基础样式(666 + 文字)

    BitmapProvider.Provider provider = new BitmapProvider.Builder(this).build();
    superLikeLayout.setProvider(provider);
    superLikeLayout.launch(x, y);

2.自定义样式(随机emoji + 自定义文字)

  • DrawableArray是喷射Emoji的Drawable。
  • NumberDrawableArray是连续点赞数字Drawable(0~10)
  • LevelDrawableArray是连续点赞等级Drawable(目前分为3个等级 010, 1020, 20~30+)
…

联系方式

  • 邮箱地址: [email protected], [email protected]

License

MIT License

Copyright (c) Qiu800820

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidcustom-viewlike

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言