Activity, AppCompatActivity, FragmentActivity, and ActionBarActivity: When to Use Which?
问题 I\'m coming from iOS where it\'s easy and you simply use a UIViewController. However, in Android things seem much more complicated, with certain UIComponents for specific API Levels. I\'m reading BigNerdRanch for Android (the book is roughly 2 years old) and they suggest I use Activity to host my FragmentActivities . However, I thought Activity was deprecated. So for API Level 22 (with a minimum support for API Level 15 or 16), what exactly should I use both to host the components, and for