Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-09 Thread Mark Murphy
On Fri, Dec 9, 2011 at 7:28 PM, Richard Schilling wrote: > I see TabActivity is deprecated. > But there are still some examples in the platform of making Activities > children of TabHost. Examples don't get updated terribly often. Also, while it is deprecated, it is still available. > This is wh

[android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-09 Thread Richard Schilling
I see TabActivity is deprecated. But there are still some examples in the platform of making Activities children of TabHost. This is what we are doing: calling TabHost.addTab and passing in a TabSpec that contains intents which launch activities. Do you think that's a bad idea now that TabA

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-01 Thread Mark Murphy
On Thu, Dec 1, 2011 at 6:10 PM, Richard Schilling wrote: > I guess when you look at the stacktrace in LogCat, we do have quite a few > layers... the stacktrace shows calls through about 12 different UI control > classes.  Would you concur that is definitely a problem in this case? It's where I'd

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-01 Thread Richard Schilling
I guess when you look at the stacktrace in LogCat, we do have quite a few layers... the stacktrace shows calls through about 12 different UI control classes. Would you concur that is definitely a problem in this case? But what do you think about the cursor? -- You received this message becaus

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-12-01 Thread Richard Schilling
Our views aren't too deep, but they may be too wide, perhaps (too many siblings under the same parent)? I am displaying lots of data using a cursor. I actually get two stacks to look at: 1. When the exception is thrown the debugger pauses in CursorWrapper.getCount: 11-23 11:56:55.383: DEBUG/A

Re: [android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-11-30 Thread Mark Murphy
What does the stack trace look like? A typical "too complex of a UI" scenario would have it all in View drawing code. On Wed, Nov 30, 2011 at 7:06 PM, Richard Schilling wrote: > ping. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group.

[android-developers] Re: StackOverflowError when button is pressed rapidly and fragments are used.

2011-11-30 Thread Richard Schilling
ping. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, v