I’ve created application using master detail flow. I have custom ListView and FrameLayout as container to show detail of selected items from ListView. Everythig’s fine but my detail is shown after onClick on ListView item. I would like to show detail of first item in ListView automatically after activity is created (sth. like android Settings activity). How should I do that? Thank you for response and your help.
I’ve created application using master detail flow. I have custom ListView and FrameLayout as
Share
Put your Fragment directly on onCreate() on the FrameLayout.
and than always replace() via FragmentManager…