iam following the above link to develop fragments in my android app but iam struck in this particular fragment if this error is resolved the app will work fine
can you make me know where i went wrong
added 2nd picture to make to everyone clear that iam facing error when i use getSupportFragmentManager()
check out this screenshot too
There are 2 different types of Fragments:
import android.app.Fragment; import android.support.v4.app.Fragment;
you have to Use the corresponding
FragmentManager for them.