Skip to content

Latest commit

 

History

History
71 lines (39 loc) · 1.58 KB

readme.md

File metadata and controls

71 lines (39 loc) · 1.58 KB

ScheduleTimeRulerView

Release CI

DEMO

demo

demo


使用

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
        implementation "com.github.mcxinyu:ScheduleTimeRuler:{last-version}"
}

组件

  1. 不喜欢它长得样子,支持自定义实现(你自己画哦)

  2. 支持横竖轴样式了

  3. 支持游标,也可通过回调自行显示

  4. 支持缩放时间轴,手势或调用代码

  5. 支持胶片样式的事件卡片

  6. 支持背景图片的事件卡片,但还不完美

TimeRulerView

  • 时间尺

ScaleTimeRulerView

  • 带缩放功能的时间尺

ScheduleTimeRulerView

  • 带计划事件的缩放功能的时间尺

proguard-rules.pro

此库自带混淆规则,并自动导入,正常情况下无需手动导入。

参考