I am trying to create a DatePickerDialog in my Android application, but when I create a DatePickerDialog , I get the following message: Call requires API level 24 (current min is 14): android.app.DatePickerDialog#DatePickerDialog
How to use DatePickerDialog in older versions of the API?
source share