Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.43 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.43 KB

compose-datepicker

Started a library to implement DatePicker widget in Jetpack Compose for Android.

Based on Google's Accompanist Pager library, see https://github.com/google/accompanist

Latest version: implementation 'io.github.offvanhooijdonk:compose-date-picker:0.1.0-alpha2'

Note: uses java.time API with desugaring enabled.

⚠️ 🪲 Known bugs:

  • When scrolling to next month, picking new date, scrolling to previous month - previous date mark persists, see issue. This is due to Pager library implementation, which is expected to be fixed shortly in Accompanist Pager library - see Bug Report at google/accompanist#771

Implemented ✅ :

  • Provides: Picker Dialog, Picker Pager, Picker Layout.
  • Set dateTo, dateFrom - both optional - and receive picked date.
  • Current MaterialTheme applies.

Upcoming 🚀 :

  • Unit & UI tests
  • UI adjustments
  • Time Picker, Date Range picker, Date Input, Time Input

Feel free to fork/use/pull request/whatever.

Bug Reports are appreciated, Feature Requests are welcomed 🤝