I'm learning about tab layout because I need to use tab layout.
When i search for tab layout on Google, the one that comes up together is the view pager.
By the way, I'm not sure about the difference between tablayout
and viewpager
.
The tab layout
has a menu at the top and screen switching is possible.
Although the view pager
does not have tabs, it is possible to slide the screen just like the tab layout
.
But why use the two together?
What's different?
Isn't it possible to slide in tab layout as well?