zjun615 / rulerview Goto Github PK
View Code? Open in Web Editor NEW卷尺系列控件,包含:普通卷尺(如:体重)、金额尺、时间尺
License: Apache License 2.0
卷尺系列控件,包含:普通卷尺(如:体重)、金额尺、时间尺
License: Apache License 2.0
Hello.
惯性滑动 have a bug.
refer to below.
RulerView/rule-view/src/main/java/com/zjun/widget/TimeRuleView.java
414 line~
FROM>> final int maxDistance = (int) (MAX_TIME_VALUE / mUnitGap * mUnitGap);
TO >> final int maxDistance = (int) (MAX_TIME_VALUE / mUnitSecond * mUnitGap);
Thanks.
setCurrentValue 显示不准确
TimeRuleView.java 第441行
final int maxDistance = (int) (MAX_TIME_VALUE / mUnitGap * mUnitGap);
改为:
final int maxDistance = (int) (MAX_TIME_VALUE / mUnitSecond * mUnitGap);
很精细的控件,就冲大佬的思路写的这么详细也要给个赞!
你好,有什么方法把小的刻度值也显示在刻度尺下面吗
rulerView.setCurrentValue(2000);
在某些手机上设置当前值时并不能指向当前值,每次初始化都不一样!刚进入时调用 rulerView.setCurrentValue();刻度不能指到2000,每次都不一样,RedMi Note 4X等手机有此现象!
怎么选择开源授权协议可以参考这里:https://choosealicense.online/
gif图怎么做的?markdown玩的很6
作者:
你好,我想咨询下RulerView如何在最小值的左侧或最大值的右侧绘制刻度,这些刻度不可选。
如题~
时间尺 TimeRulerView 放大到最大级别 demo里是滑到07:16:21再往后面滑的话 不管滑多少都会再退回到这个时间点 貌似由于fling效果导致的异常
你好,能加微信orQQ你吗,有个问题想请教探讨
在使用的过程中,会有一定的概率出现一边的刻度不显示
使用场景:RecyclerView中的每个Item都有一个RulerView
你好,能不能在视频播放的时候,根据视频播放的开始时间实时移动到尺子对应的时间值那里
如题, 请问怎么判断惯性滑动停止了呢, 因为需求不是一直回调, 而是回调停止后选中的时间再进行其他操作, 比如请求数据
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.