Skip to content

airext/date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

date-picker License MIT

iOSAndroid

This AIR Native Extension allows using RMDateSelectionViewController in AIR applications.

Requrements

  • iOS 7.0 or greater.
  • Android 4.0 (API level 14) or greater.

Usage

var picker:DatePicker = new DatePicker();
picker.addEventListener(DatePickerEvent.SELECT, selectHandler);
picker.addEventListener(DatePickerEvent.CANCEL, cancelHandler);

private function selectHandler(event:DatePickerEvent):void
{
  trace(event.date); // <- selected date;
}

private function cancelHandler(event:DatePickerEvent):void
{
  trace("Canceled");
}

Screenshots

iPhone5 Protrait

Nexus4 Protrait Light

Limitation

  • DateAndTime mode is not supported on Android
  • Black theme is not supported on iOS