The method add(Fragment) in the type ArrayList<Fragment> is not applicable for x

The method add(Fragment) in the type ArrayList is not applicable for the arguments (FragmentOne)错误解决

把FragmentOne中的import android.app.Fragment;改为 android.support.v4.app.Fragment;

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

The method add(Fragment) in the type ArrayList<Fragment> is not applicable for x

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭