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

Android: Add selected/unselected Tab events for parity with iOS Focus and Blur events


    • Type: Improvement
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: Release 3.2.2
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      3.3.0 Android

    • Story Points:
    • Sprint:
      2019 Sprint 1


      On iOS, the Tab focus and blur events fire for the relevant tabs when a tab is selected. On Android, these events also fire when the window gains or loses focus, such as when the Home button is clicked or when the screen is unlocked. The iOS behavior is the correct one, and should be matched. This is important, since we need a reliable indicator for when a tab is selected and unselected. We currently have no such indicator in Android, thus this is critical.

      UPDATE: see PR in comment below. The PR added the selected and unselected tab events for Android, while not modifying focus and blur behavior to maintain app compatibility. In iOS, tab focus and blur were simply renamed to selected and unselected. These events function as expected, and have the benefit of being more appropriately named.


          Issue Links



              • Assignee:
                ybanev Yordan Banev
                mokesmokes Mark Mokryn
              • Watchers:
                6 Start watching this issue


                • Created:

                  Backbone Issue Sync

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

                    Git Integration