Fragment fragment= new BlankFragment();
错误:
InCompatiable type
required : android.app.Fragment
Found : com.example.swapnil.Drawer.BlankFragment
但我导入了
android.app.Fragment
答案 0 :(得分:-1)
尝试导入import android.support.v4.app.Fragment;
而不是