Reputation: 4404
Quick question.
Is is possible to convert a Fragment from the support v4 library into a fragment of the regular app library? If so, how?
I can't find any information online to do this. I hope its not a duplicate.
Upvotes: 0
Views: 2178
Reputation: 199825
No, they are completely different and you can't convert from one to the other.
The v13 Support Library contains classes which use android.app.Fragment
rather than support fragments. Specifically, the android.support.v13.app.FragmentPagerAdapter allows you to use regular fragments with a ViewPager
.
Upvotes: 2