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

Android: 'androidback' does not work with tabGroup

    Details

      Description

      'androidback' does not work with tab groups.

      var tabgroup = Ti.UI.createTabGroup({navBarHidden: true});
      var win1 = Ti.UI.createWindow();
      var tab1 = Ti.UI.createTab({window: win1, title: 'tab1'});
      tabgroup.addTab(tab1);
      tabgroup.open();
       
      win1.addEventListener('androidback', function() {
         alert("hello");
      });
      

      Testing steps:
      1. Run code
      2. Hit back button
      3. Alert should pop up, but application closes instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pwang Ping Wang
                Reporter:
                hpham Hieu Pham
                Reviewer:
                Hieu Pham
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration