Fragment vs. FragmentActivity

android, android-fragmentactivity, android-fragments

Solution

FragmentActivity is our classic Activity with fragment support, nothing more. Therefore FragmentActivity is needed, when a Fragment will be attached to Activity.

Well Fragment is good component that copy the basic behaviors of Activity, still not a stand-alone application component like Activity and needs to be attached to Activity in order to work.

Read here Difference between Fragment And FragmentActivity

Problem

I am new in Android programming. I want to do a Fragment, I have seen examples that uses Fragment and FragmentActivity, What's the difference between them and which cases should be used each one? Thanks

Original source

Related problems