Dúvidas Tablayout

Asked

Viewed 43 times

0

I have 3 views that inflame Contents from Recycler view. I put all of them extending from one BaseActivity.java to have some common functions like Navigationview(Sidebar) and also the Toolbar.

Now, I wanted to make use of a TabLayout and obligatorily I have to use Ragment, as I understand it. I can simply do fragment of these views passing the layout?

My question is whether you can encapsulate a Acitivity + Layout in a fragment.

  • I cannot understand this question. But Fragment cannot be missing. You can even use the same layout on each Tab.

  • I can convert an Activity to Fragment?

No answers

Browser other questions tagged

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