Details

      Description

      Slider events have parity issues.
      iOS fires touchstart and touchend on user initialted update but has no x and y values in the event.
      Android fires undocumented stop event when UI update finishes.

      iOS and Android are going to implement start and stop events (which will not bubble). Obvious use case is the updateItem API in the listView which should be done in the stop event.

      Test Case

      var win = Titanium.UI.createWindow({
          backgroundColor : '#fff'
      });
       
      var slider = Ti.UI.createSlider({
          min:0,
          max:1,value:0.5,
          width:'80%',
      });
       
      function handler(e){
          Ti.API.info(e.type+' '+e.value+' '+e.bubbles);
      }
       
      slider.addEventListener('start',handler);
      slider.addEventListener('change',handler);
      slider.addEventListener('stop',handler);
       
      win.add(slider);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              vduggal Vishal Duggal (Inactive)
              Reviewer:
              Sabil Rahim
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration