shinyuX
shinyuX

Reputation: 1521

FragmentPagerAdapter, Fragments, support.v4 and support.v13

My Current Situation

I am working on an existing app that is using CustomFragment derived from android.app.Fragment. I want to add a new functionnality with a ViewPager which will show my CustomFragments. For that I need to use a FragmentPagerAdapter.

Oooh snap !

Here I am, importing android.support.v4.view.ViewPager and android.support.v4.app.FragmentPagerAdapter to achieve my goal. And now the funny part begins :

What to do now ?

Since I have to use android.app.Fragment and I can't use only support.v4, I don't know where to go search next. Any help would be highly appreciated !

Upvotes: 3

Views: 2068

Answers (1)

shinyuX
shinyuX

Reputation: 1521

Well that is simply not possible. I went to use support.v4.app.Fragment.

Upvotes: 1

Related Questions