I want to customize the DatePicker dialog that I use in my Android application so that it can only select current and future dates. Can this be done?
I have not tried it, but it looks like setMinDate and setMaxDate might be what you are looking for.
setMinDate (long) Sets the minimum date that this NumberPicker supports in milliseconds since January 1, 1970, 00:00:00 in the getDefault () time zone.
http://developer.android.com/reference/android/widget/DatePicker.html#setMinDate(long )
Source: https://habr.com/ru/post/1771704/More articles:Unityscript - what is this declaration? - unity3dWriting temporary files in an iPhone application - iphoneDataGrid in WPF - .net-3.5Magento: two flat rates for shipping by weight - magentohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1771703/set-focus-to-end-of-text-in-textbox-after-postback&usg=ALkJrhgaisAR2RGi8TBMDTDM8Aswww5qmgcapitalization of library class names - pythonSet focus in TextBox after postback - javascriptIn MySql, is it possible to lock tables only with SELECT? - mysqlIs it possible to place a conditional statement inside an Html.DisplayFor call? - asp.net-mvc.Net idioms learned from experience? - idiomsAll Articles