appcelerator/titanium_mobile — pull request #2724 by vishalduggal (2012-08-13 22:20:32+00:00)
Title: [TIMOB-10146] Ensure view attached before dispatching setSelected

Cherry pick PR #2671 into 2_1_X
Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-10146)