Fragment使おうとしたら「that is not a fragment」と怒られた

By: Jan Tik

Fragment使おうとしたら「that is not a fragment」と怒られたので対策メモ。

that is not a fragment

Activityじゃなくて、FragmentActivityを使えと。

参考: Android SDK error: Trying instantiate a class that is not a fragment