Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error inflating class com.github.gzuliyujiang.wheelpicker.widget.DateWheelLayout #356

Open
XuMengren opened this issue Jul 24, 2024 · 1 comment

Comments

@XuMengren
Copy link

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.gzuliyujiang.wheelview.widget.WheelView.setVisibleItemCount(int)' on a null object reference at com.github.gzuliyujiang.wheelpicker.widget.BaseWheelLayout.setVisibleItemCount(BaseWheelLayout.java:155)

使用的是demo的布局
<com.github.gzuliyujiang.wheelpicker.widget.DateWheelLayout
android:layout_width="120dp"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
app:wheel_dateMode="month_day"
app:wheel_dayLabel="日"
app:wheel_monthLabel="月" />

@XuMengren
Copy link
Author

我就是想运行看看效果,发现运行不起来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant