-
源代码
```java
WheelView year = (WheelView) v.findViewById(R.id.year);
WheelView month = (WheelView) v.findViewById(R.id.month);
year.setOnItemSelectedListener(v1 -> pickerView.returnData());
month.…
-
onDismissListener在BasePickerView里是private的,导致我想在TimePickerView里加这个监听的时候,不能使用这个变量,如果我想写这个监听是不是一定得抄一份BasePickerView
-
![img_1690](https://user-images.githubusercontent.com/10276096/35506054-077260c8-0523-11e8-9ce0-cbbbb5422e2a.JPG)
使用方式如下:
Calendar selectedDate = Calendar.getInstance();//系统当前时间
Cal…
-
setRangDate 只限制了年月日, 怎么做可以 时分 也做范围限制
-
取消的时候有时候也需要进行操作的,可以考虑加一个,还有确定的时候的。
目前代码里面没有~
-
如选择 1965-09-19,用date.gettime()获取到时间搓为-135209440000,
选择1971-09-19,时间搓为54093438000,都不匹配,
但是选择
2017-09-19,时间搓为1505786352000,是匹配的
-
Nexus 5X
7.1.1
软键盘显示后timePickerView.show()软键盘未关闭。
-
这个view指的谁呢?我原来是想通过view获得id,给不同的控件进行设置。
但是v总是把空指针异常?
mTimePickerView = new TimePickerView.Builder(this, new TimePickerView.OnTimeSelectListener() {
@Override
public void on…
-
![device-2016-01-27-132432](https://cloud.githubusercontent.com/assets/7437081/12604748/63fabc44-c4f9-11e5-93ee-5e26f470892b.png)
-
版本:3.2.5
情景:我想点击取消就退出页面,点击确定就加载数据
发现只有setOnDismissListener
iamzj updated
7 years ago