blazsolar / WeekDatePicker

Lightweight week date picker implmentation for Android.
MIT License
64 stars 17 forks source link

i got some error #5

Open elhak opened 8 years ago

elhak commented 8 years ago

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

how to solve that?

blazsolar commented 8 years ago

could you post whole stack trace or instructions how to reproduce this issue?

elhak commented 8 years ago

i just add this in my layout and i got error like that.. <solar.blaz.date.week.WeekDatePicker android:id="@+id/date_picker" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="5dp" android:paddingBottom="5dp" android:textSize="18sp" app:wdp_labelTextSize="12sp" app:wdp_labelPadding="5dp" app:wdp_firstDayOfWeek="monday"/>

blazsolar commented 8 years ago

Are you sure it is WeekDatePickers fault. TextView is never used in this library so it is strange that that would be the cause of the error.

elhak commented 8 years ago

ohh yes sorry is my bad,, but i got error this

Failed to find style 'weekDatePickerStyle' in current theme (2 similar errors not shown)

elhak commented 8 years ago

and i got new error in layouting like this org.threeten.bp.zone.ZoneRulesException: No time-zone data files registered

elhak commented 8 years ago

how to solve that?