https://github.com/junixapp/marqueeview
垂直跑马灯效果。
https://github.com/junixapp/marqueeview
Last synced: about 1 year ago
JSON representation
垂直跑马灯效果。
- Host: GitHub
- URL: https://github.com/junixapp/marqueeview
- Owner: junixapp
- Created: 2016-10-21T11:00:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-08T06:58:19.000Z (about 8 years ago)
- Last Synced: 2025-04-02T14:02:15.786Z (about 1 year ago)
- Language: Java
- Size: 92.8 KB
- Stars: 47
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MarqueeView
垂直跑马灯效果。
# Screenshot

# Usage
//设置数据
marqueeView.setMarqueeData(data);
//切换暂停和滚动
marqueeView.toggleMarquee();
// 设置切换的时间间隔,默认是2000
marqueeView.setInterval(3000);
# Depedency [](https://jitpack.io/#li-xiaojun/MarqueeView)
- step1, Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
- step2, Add the dependency
dependencies {
compile 'com.github.li-xiaojun:MarqueeView:latest'
}