android.support.v4.app.FragmentTransaction required

前端 未结 6 1504
别跟我提以往
别跟我提以往 2021-02-05 03:54

entering in code like this:

FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();

comes up with this error \"androi

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-05 04:27

    In Activity import android.app.Fragment .. In Fragment extend with android.app.Fragment.. this solved my issue...

提交回复
热议问题