val current = Calendar.getInstance()
timeLine.setFirstVisibleDate(2016, Calendar.JULY, 19)
timeLine.setLastVisibleDate(2020, Calendar.JULY, 19)
i am doing this, but when i pick by example the 2017/02/18 all the months after that date disappear
i am adding it from this way
<com.github.badoualy.datepicker.DatePickerTimeline
android:id="@+id/timeLine"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/title"
/>
val current = Calendar.getInstance() timeLine.setFirstVisibleDate(2016, Calendar.JULY, 19) timeLine.setLastVisibleDate(2020, Calendar.JULY, 19)
i am doing this, but when i pick by example the 2017/02/18 all the months after that date disappear i am adding it from this way <com.github.badoualy.datepicker.DatePickerTimeline android:id="@+id/timeLine" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/title" />