Re: [android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-23 Thread Nick Parker
container in the onCreate of the parent activity everything works smoothly now. Not sure if this is related to the compatibility library or not, but the issue seems to be resolved by loading the control dynamically. Thanks for your time. Nick Parker On Friday, January 20, 2012 at 1:09 PM, Mark

Re: [android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Nick Parker
s why the call to getActivity() would fail at that point, the lifecycle should have completed at that point, correct? Thanks. Nick Parker On Friday, January 20, 2012 at 12:24 PM, Mark Murphy wrote: > On Fri, Jan 20, 2012 at 12:11 PM, Nick Parker (mailto:npar...@zetetic.net)> wrot

Re: [android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Nick Parker
t the onContextItemSelected shows getActivity() returning null. Any thoughts as to why that might be? Thanks. Nick Parker On Friday, January 20, 2012 at 10:46 AM, Mark Murphy wrote: > On Fri, Jan 20, 2012 at 11:39 AM, Nick Parker (mailto:npar...@zetetic.net)> wrote: > > I am not exactly

Re: [android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Nick Parker
onContextItemSelected. The view has already redrawn itself well before I attempt to trigger the context menu following the screen rotation, but the commitAllowingStateLoss() still fails. I'm open to suggestions. Thanks. Nick Parker On Friday, January 20, 2012 at 10:09 AM, Mark Murphy wrote: >

Re: [android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Nick Parker
Hi Mark, Thanks for the quick response, I've included my comments inline: Nick Parker On Friday, January 20, 2012 at 9:49 AM, Mark Murphy wrote: > On Fri, Jan 20, 2012 at 10:41 AM, Nick Parker (mailto:npar...@zetetic.net)> wrote: > > I am using the Google compatibility libr

[android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Nick Parker
FragmentTransaction. How is the activity becoming null? Is this an issue with the compatibility library, or any I doing something wrong? Thanks in advance. Nick Parker -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Fragment visibility after transaction

2011-10-13 Thread Nick Parker
Hello, I am using the fragment compatibility library and have a question about fragment transactions. I am using a third-party action bar and two fragments in this scenario. Each fragment updates the user interface of the outside action bar when they are displayed. When displaying the first fra