7

FragmentManager multiple on-screen fragments?

view full story
linux-howto

http://stackoverflow.com – On Android 3.0 and above, the android team is driving hard that you should use fragments over activities. And I see this being useful, but I want to be able to handle click events in my app. I'm using a list fragment on the right side of my app, so doing an onclick (or any click listeners) happens in the activity that hosts the fragment. So I had to move from putting a item in XML to using the fragment manager. In the design documents they show this picture: http://developer.android.com/training/basics/fragments/fragment-ui.html What I want is the Fragment A/B tablet UI. However, nowhere i (HowTos)