All Projects → CNCoderX → Wheelview

CNCoderX / Wheelview

The wheel widget for Android 滚轮选择控件

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Wheelview

react-native-wheel-datepicker
Android & iOS iOS-style Picker & DatePicker Components for ReactNative
Stars: ✭ 72 (-79.43%)
Mutual labels:  wheel
pytorch-aarch64
PyTorch wheels (whl) & conda for aarch64 / ARMv8 / ARM64
Stars: ✭ 137 (-60.86%)
Mutual labels:  wheel
wheel
Echo Wheel -- 用Vue写的UI框架
Stars: ✭ 28 (-92%)
Mutual labels:  wheel
use-gesture
👇Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
Stars: ✭ 6,624 (+1792.57%)
Mutual labels:  wheel
whey
A simple Python wheel builder for simple projects.
Stars: ✭ 17 (-95.14%)
Mutual labels:  wheel
TensorFlow-Raspberry-Pi 64-bit
TensorFlow installation wheels for Raspberry Pi 64 OS
Stars: ✭ 27 (-92.29%)
Mutual labels:  wheel
embla-carousel-wheel-gestures
wheel interactions for Embla Carousel
Stars: ✭ 30 (-91.43%)
Mutual labels:  wheel
Enteranimation
android 仿ppt进入/转场动画,入场动画效果合集,自定义view实现动画,百叶窗效果,擦除效果,盒状效果,阶梯效果,菱形效果,轮子效果,劈裂效果,棋盘效果,切入效果,扇形展开效果,十字扩展效果,随机线条效果,向内溶解效果,圆形扩展效果,适用于任何view和viewgroup,activity即用于页面根部viewgroup,自定义viewgroup自动换行layout,看效果图 Series of entrance animation effects just like ppt in Android. There are effects of Blinds,Wipe,Box,Strips,Diamond,Wheel,Split,Checkerboard,Peek In,Wedge,Plus,Random Bars,Dissolve In,Circle. The Animation effects can apply to any View or ViewGroup. There is also a custom ViewGroup of auto linefeed called SimpleLineWrapLayout to layout the buttons. look the images:
Stars: ✭ 328 (-6.29%)
Mutual labels:  wheel
python
Build Python extension with Dynamsoft Barcode Reader.
Stars: ✭ 35 (-90%)
Mutual labels:  wheel
WheelPickerByRecyclerView
用RecyclerView实现的滚轮选择器
Stars: ✭ 14 (-96%)
Mutual labels:  wheel
opencv-python-inference-engine
Wrapper package for OpenCV with Inference Engine python bindings.
Stars: ✭ 32 (-90.86%)
Mutual labels:  wheel
hid-tminit
Linux driver to properly initialize some Thrustmaster Wheels
Stars: ✭ 23 (-93.43%)
Mutual labels:  wheel
wheeltimer
crontab, golang crontab, wheeltimer
Stars: ✭ 13 (-96.29%)
Mutual labels:  wheel
WheelPicker-Samples
WheelPicker samples for the WheelPicker Xamarin Component
Stars: ✭ 18 (-94.86%)
Mutual labels:  wheel
Gb Canvas Turntable
适用于移动端的Canvas绘制可配置的转盘抽奖
Stars: ✭ 294 (-16%)
Mutual labels:  wheel
flutter-spinning-wheel
A very customizable spinning wheel widget for Flutter.
Stars: ✭ 110 (-68.57%)
Mutual labels:  wheel
wheelodex
An index of wheels
Stars: ✭ 20 (-94.29%)
Mutual labels:  wheel
Tensorflow Bin
Prebuilt binary with Tensorflow Lite enabled (native build). For RaspberryPi / Jetson Nano. And, solved Tensorflow issues #15062,#21574,#21855,#23082,#25120,#25748,#29617,#29704,#30359. Support for custom operations in MediaPipe.
Stars: ✭ 349 (-0.29%)
Mutual labels:  wheel
Tensorflow Windows Wheel
Tensorflow prebuilt binary for Windows
Stars: ✭ 3,428 (+879.43%)
Mutual labels:  wheel
cresset
Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
Stars: ✭ 573 (+63.71%)
Mutual labels:  wheel

使用说明

这个库包含两种类型的滚轮:普通滚轮立体滚轮,普通滚轮调用WheelView,立体滚轮调用Wheel3DView。两种滚轮实现原理相同,但显示效果不同。立体滚轮类似IOS时间选择控件,效果如下。

演示

img img

添加依赖

compile 'com.cncoderx.wheelview:library:1.2.5'

使用方法

在xml文件中添加

<com.cncoderx.wheelview.Wheel3DView
    android:id="@+id/wheel3d"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginLeft="20dp"
    app:wheelCyclic="true"
    app:wheelEntries="@array/default_array"
    app:wheelItemCount="9"
    app:wheelItemWidth="160dp"
    app:wheelItemHeight="40dp"
    app:wheelTextSize="@dimen/wheel_text_size"
    app:wheelTextColor="@color/wheel_text_color"
    app:wheelSelectedTextColor="@color/wheel_selected_text_color"
    app:wheelDividerColor="@color/wheel_divider_color"
    app:wheelHighlightColor="@color/wheel_highlight_color" />

在java文件中添加

WheelView wheelView = (WheelView) findViewById(R.id.wheel);
wheelView.setOnWheelChangedListener(new OnWheelChangedListener() {
    @Override
    public void onChanged(WheelView view, int oldIndex, int newIndex) {
        CharSequence text = view.getItem(newIndex);
        Log.i("WheelView", String.format("index: %d, text: %s", newIndex, text));
    }
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].