cannot be cast to android.support.v4.app.Fragment

android.app.Fragment

 as stated in the imports. Change the import to 

android.support.v4.app.Fragment
posted @ 2016-03-11 17:31  bit by bit  阅读(467)  评论(0编辑  收藏  举报