I want each tab activity to register for events on creation. Otherwise it could happen that a tab is not up2date because it missed the event simply because the instance didn't register itself. And the second point is that the selection of each tab the first time works smoother. Therefore I thought, if there is a way to deactivate lacy creation, it would help me with this problem. And since I know that the user must use each tab, it doesn't matter if it is created on startup...
On May 15, 8:13 am, skink <[email protected]> wrote: > On May 14, 5:36 pm, Patrick <[email protected]> wrote: > > > > > > > Hallo! > > I have a TabActivity. Within this activity (in the onCreate method) I > > create a TabHost and a TabSpec and do a > > tabSpectSearch.setContent(intenSearch); The Indent is created using > > intentSearch = new Intent().setClass(this, MyActivity.class); > > > As far as I already found out the class MyActivity is instantiated > > when I select the tab, to which it is connected. Is there a way from > > my TabActivity to force the creation of all activities (all tabs) at > > once? > > > -- > > 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 > > athttp://groups.google.com/group/android-developers?hl=en > > why lazy creation is not good for you? > > pskink > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

