{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class FragmentTabHost
Special TabHost that allows the use of Fragment
objects for its tab content. When placing this in a view hierarchy, after inflating the hierarchy you must call setup
to complete the initialization of the tab host.
Public constructors |
|
---|---|
This function is deprecated. Use TabLayout and ViewPager instead. |
|
This function is deprecated. Use TabLayout and ViewPager instead. |
Public functions |
|
---|---|
Unit |
This function is deprecated. Use TabLayout and ViewPager instead. |
Unit |
This function is deprecated. Use TabLayout and ViewPager instead. |
Unit |
This function is deprecated. Use TabLayout and ViewPager instead. |
Unit |
This function is deprecated. Use TabLayout and ViewPager instead. |
Unit |
This function is deprecated. Use TabLayout and ViewPager instead. |
Unit |
This function is deprecated. Use TabLayout and ViewPager instead. |
funsetup(context: Context, manager: FragmentManager): Unit
Set up the FragmentTabHost to use the given FragmentManager
funsetup(context: Context, manager: FragmentManager, containerId: Int): Unit
Set up the FragmentTabHost to use the given FragmentManager