All Projects → venshine → Wheelview

venshine / Wheelview

Licence: apache-2.0
Android滚轮控件,基于ListView实现,可以自定义样式。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Wheelview

whey
A simple Python wheel builder for simple projects.
Stars: ✭ 17 (-98.21%)
Mutual labels:  wheel
wheel
Echo Wheel -- 用Vue写的UI框架
Stars: ✭ 28 (-97.05%)
Mutual labels:  wheel
React Use Gesture
👇Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
Stars: ✭ 5,704 (+501.69%)
Mutual labels:  wheel
pytorch-aarch64
PyTorch wheels (whl) & conda for aarch64 / ARMv8 / ARM64
Stars: ✭ 137 (-85.55%)
Mutual labels:  wheel
cresset
Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
Stars: ✭ 573 (-39.56%)
Mutual labels:  wheel
Tensorflow Windows Wheel
Tensorflow prebuilt binary for Windows
Stars: ✭ 3,428 (+261.6%)
Mutual labels:  wheel
integration-test
ensure core packaging tools work well with each other
Stars: ✭ 15 (-98.42%)
Mutual labels:  wheel
Cursorwheellayout
An Android Widget for selecting items that rotate on a wheel.
Stars: ✭ 710 (-25.11%)
Mutual labels:  wheel
WheelPickerByRecyclerView
用RecyclerView实现的滚轮选择器
Stars: ✭ 14 (-98.52%)
Mutual labels:  wheel
Wheelview
The wheel widget for Android 滚轮选择控件
Stars: ✭ 350 (-63.08%)
Mutual labels:  wheel
wheelodex
An index of wheels
Stars: ✭ 20 (-97.89%)
Mutual labels:  wheel
wheeltimer
crontab, golang crontab, wheeltimer
Stars: ✭ 13 (-98.63%)
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 (-65.4%)
Mutual labels:  wheel
python
Build Python extension with Dynamsoft Barcode Reader.
Stars: ✭ 35 (-96.31%)
Mutual labels:  wheel
Cibuildwheel
🎡 Build Python wheels for all the platforms on CI with minimal configuration.
Stars: ✭ 620 (-34.6%)
Mutual labels:  wheel
hid-tminit
Linux driver to properly initialize some Thrustmaster Wheels
Stars: ✭ 23 (-97.57%)
Mutual labels:  wheel
Gb Canvas Turntable
适用于移动端的Canvas绘制可配置的转盘抽奖
Stars: ✭ 294 (-68.99%)
Mutual labels:  wheel
Wheels
Performance-optimized wheels for TensorFlow (SSE, AVX, FMA, XLA, MPI)
Stars: ✭ 891 (-6.01%)
Mutual labels:  wheel
Wheelpicker
A smooth, highly customizable wheel view and picker view, support 3D effects like iOS. 一个顺滑的、高度自定义的滚轮控件和选择器,支持类似 iOS 的 3D 效果
Stars: ✭ 684 (-27.85%)
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 (-63.19%)
Mutual labels:  wheel

WheelView

Android Arsenal API

Android滚轮控件,基于ListView实现,可以自定义样式。

Features

  • 支持自定义滚轮样式
  • 支持common和holo两种皮肤
  • 支持文本和图文混排两中数据模版
  • 支持循环显示数据
  • 支持选中项添加附加文本
  • 支持设置滚轮刻度
  • 支持联动功能
  • 支持嵌入滚动控件中(NestedScrollView)
  • 支持滚轮对话框
  • 支持滚轮选中项点击事件

ScreenShot

Usage

Gradle:
compile 'com.wx.wheelview:wheelview:1.3.3'
导入Eclipse:

下载jar包

Demo

Use the WheelView as a View, Java and XML are both supported.

Java:
    public class MainActivity extends Activity {
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main)

            WheelView wheelView = (WheelView) findViewById(R.id.wheelview);
            wheelView.setWheelAdapter(new ArrayWheelAdapter(this)); // 文本数据源
            wheelView.setSkin(WheelView.Skin.Common); // common皮肤
            wheelView.setWheelData( ?);  // 数据集合

        }
    }
XML:
    <com.wx.wheelview.widget.WheelView
            android:id="@+id/wheelview"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
Methods:
method 方法 description 描述
void setWheelAdapter(BaseWheelAdapter adapter) 设置滚轮数据源适配器(required)
void setWheelData(List list) 设置滚轮数据(required)
void setLoop(boolean loop) 设置滚轮是否循环滚动
void setWheelSize(int wheelSize) 设置滚轮个数
void setSkin(Skin skin) 设置皮肤风格
Skin getSkin() 获得皮肤风格
void setStyle(WheelViewStyle style) 设置滚轮样式
WheelViewStyle getStyle() 获得滚轮样式
void setWheelClickable(boolean clickable) 设置滚轮选中项是否可点击
void setSelection(final int selection) 设置滚轮位置
int getSelection() 获取滚轮位置
void join(WheelView wheelView) 连接副WheelView(联动设置)
void joinDatas(HashMap<String, List> map) 副WheelView数据(联动设置)
int getCurrentPosition() 获取当前滚轮位置
T getSelectionItem() 获取当前滚轮位置的数据
void setExtraText(String text, int textColor, int textSize, int margin) 设置选中行附加文本
int getWheelCount() 获得滚轮数据总数
void setOnWheelItemSelectedListener(OnWheelItemSelectedListener onWheelItemSelectedListener) 设置滚轮滑动停止时事件,监听滚轮选中项
void setOnWheelItemClickListener(OnWheelItemClickListener onWheelItemClickListener) 设置滚轮选中项点击事件
WheelViewDialog setDialogStyle(int color) 设置Dialog外观颜色

History

  • 1.0.0(2016-03-24)
    • 完成滚轮控件
  • 1.1.0(2016-03-28)
    • 支持联动功能
  • 1.2.3(2016-04-14)
    • 支持嵌入滚动控件
  • 1.3.0(2016-04-15)
    • 支持滚轮对话框
  • 1.3.1(2016-04-18)
    • 增加滚轮选中项点击事件

About

License

Copyright (C) 2016 [email protected]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].