Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19345

Android: DatePicker change event does not fires in Lollipop

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.1.0
    • Component/s: Android
    • Labels:
    • Environment:

      Titanium SDK 4.1.0.GA
      Android Lollipop

    • Story Points:
      5
    • Sprint:
      2015 Sprint 20 SDK

      Description

      Issue Description

      This issues does not occur on iOS. If you run the test case on Jelly Bean devices the change event is fired as expected.

      Tested on

      iOS 8.1: Change event works
      Droid Razr 4.1.2: Change event works
      Moto G 5.0.2: Change event didn't work

      Test Case

      Ti.UI.backgroundColor = 'white';
      var win = Ti.UI.createWindow({
          exitOnClose : true,
      });
       
      var datePicker = Ti.UI.createPicker({
          top: 100,
          height : Ti.UI.SIZE,
          width : Ti.UI.FILL,
          type : Ti.UI.PICKER_TYPE_DATE,
          minDate : new Date(),
          value : new Date(),
          color : "#000",
      });
       
      datePicker.addEventListener('change', function(e) {
          alert(e.value);
          Ti.API.info(e.value);
      });
      win.add(datePicker);
       
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                egomez Eduardo Gomez (Inactive)
                Reviewer:
                Ashraf Abu (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20244
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration