I'm still not sure about the best design methods using fragments. I looked at the dev docs:
http://developer.android.com/guide/components/fragments.html
There seem to be two ways to make a new screen in at least one window. Let's say I have a button inside one fragment, and I want it to show a new view when clicked. Should I use the original action and replace it with FragmentTransaction, or should I start the original launch with the goal of a new action that displays this fragment. I am sure both can work. I'm more interested in design practice. Or should I use a dialog snippet?
If that matters, the second fragment must at any time pass the information to the original fragment.
source share