Is it possible to inflate a class instead of layout using Fragmenttab?

Asked

Viewed 51 times

0

I made a dynamic form, so I have to inflate the class and not the layout, but I am in doubt if this is possible with Tabfragment.

1 answer

0

You cannot inflate a class. And also you cannot put an Activity inside a fragmentTab. What you can do is to put in each tab a Fragment and control the class you use to inflate the layout of that Fragment. A class that extends in Fragment. In this class you can make everything as dynamic as you want.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.