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

iOS: ActivityIndicator disappears while inside the table row

    Details

      Description

      Problem

      ActivityIndicator need to be added to the tableview row. Using the sequence hide() and show() makes the indicator to disappear.

      Regression - work correctly with 1.7.5

      Reproducible Steps

      1. Run the sample code and wait

      Sample Code

      var win = Ti.UI.createWindow();
       
              win.open();
       
              var row = Ti.UI.createTableViewRow({
                  header: 'Test',
                  title: 'Testing',
                  color: '#808080',
                  selectionStyle: 'none',
                  hasChild: false
              });
       
              var spinner = Ti.UI.createActivityIndicator({
                  right: 15,
                  height: 50,
                  width: 10,
                  style: Ti.UI.iPhone.ActivityIndicatorStyle.DARK
              });
       
              spinner.show();
              row.add(spinner);
       
              var tableviewData = [row];
       
              var tableview = Ti.UI.createTableView({
                  data: tableviewData
              });
       
              win.add(tableview);
       
              setTimeout(function() {
               spinner.hide();
                  Ti.API.info('Spinner disappears...');
                  setTimeout(function() {
                       
                      spinner.show();
                      Ti.API.info('And won\'t come back!');
                  }, 1000);
              }, 3000);
      

      Associated HelpDesk Ticket

      http://appc.me/c/APP-336112

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stephentramer Stephen Tramer
                Reporter:
                kpomaski Karol Pomaski
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration