[android-developers] Adding Fragments to a LinearLayout programmatically

2013-08-30 Thread Ralph Bergmann | the4thFloor.eu
I am trying to add nested child Fragments into a parent Fragment. All works fine but At first my code: public class FragmentDatasheetWithHeader extends Fragment { private long mRowId; private String mSid; @Override public View onCreateView(final LayoutInflater inflater,

Re: [android-developers] Adding Fragments to a LinearLayout programmatically

2013-08-30 Thread TreKing
On Fri, Aug 30, 2013 at 6:44 PM, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: When the activity with the FragmentDatasheetWithHeader is open and the app goes into background and comes back to foreground the nested Fragments are doubled. But it only appears if the container for

Re: [android-developers] Adding Fragments to a LinearLayout programmatically

2013-08-30 Thread Ralph Bergmann | the4thFloor.eu
Am 31.08.13 02:02, schrieb TreKing: 1 - Debug your app and gather more information. I debugged it. The createUI() method is called once. Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to