Comments (6)
Thanks for your request. Actually, row count option could be nice. I will look at as soon as possible.
from wheelpickercompose.
I try to change the number of rows, but there will be a jump when the scroll ends, and I can't find the reason
from wheelpickercompose.
you are right, I can change to number of rows too but this broke the snap and output logic because i believe this change the first visible index. we must find a way to achieve this.
from wheelpickercompose.
hey, i added rowCount parameter so now number of rows can be change. This release include this feature.
from wheelpickercompose.
i see the changes size.height / rowCount * ((rowCount - 1 )/ 2) why this calculation?
from wheelpickercompose.
hi this calculation for calculate to top of selection box height. Lazy Column needs vertical padding for select first item or select last item.
Calculations;
Size.height / rowCount -> 1 item height,
*
(rowCount - 1 / 2) -> item count of top, example; 3 item - 1 item on top, 5 item - 2 item of top, 7 item - 3 item of top.
= Height of top of selection items.
from wheelpickercompose.
Related Issues (20)
- Fatal Exception: java.lang.IllegalStateException: Offset is unspecified HOT 3
- java.lang.IllegalStateException: Offset is unspecified HOT 14
- wheel state doesn't update after scroll finishes HOT 3
- Get intermediary wheel picker values
- Other language support
- WheelTextPicker: startIndex positions element askew
- Wishlist: typable WheelPicker
- Why infiniteLoopEnabled feature is removed? HOT 1
- Java support? HOT 1
- Semicolon position fixation issue
- WheelTimePicker does not recompose if startTime is changed manually HOT 1
- Would be great if we could customise the minute in time to show set intervals (e.g. 0, 15, 30, 45) instead of every minute values.
- 建议问题
- 兼容年月模式?
- [FR]: compose multiplatform support HOT 2
- I cannot make the wheel Picker have a flex effect
- Bounces back when it fling or drag to the bottom HOT 1
- Give the highlights a separate color
- WheelTextPicker text style problem
- Solar date support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wheelpickercompose.