Hi,
I have several tabs in my application. Each of which contains an
activity. One of these is a ListActivity and I would like to open up
another activity (in the same tab) when the user clicks on a ListItem.
I have created a public static on the TabActivity which I am using to
reference TabSpec(s) however setContent(Intent i) just doesn't appear
to be working...
protected void onListItemClick(ListView l, View v, int position, long
id) {
// Get the Issue list
Intent i = new Intent(this, IssueList.class);
i.putExtra(PROJECT_KEY_EXTRA_STRING, projectList.get
(position).getKey());
MainTabActivity.projectTab.setContent(i);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---