FragmentTabHost

public 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.

Summary

Public constructors

This method is deprecated.

Use TabLayout and ViewPager instead.

This method is deprecated.

Use TabLayout and ViewPager instead.

Public methods

void
addTab(
    @NonNull TabHost.TabSpec tabSpec,
    @NonNull Class<Object> clss,
    @Nullable Bundle args
)

This method is deprecated.

Use TabLayout and ViewPager instead.

@Override void

This method is deprecated.

Use TabLayout and ViewPager instead.

@Override void

This method is deprecated.

Use TabLayout and ViewPager instead.

@Override void

This method is deprecated.

Use TabLayout and ViewPager instead.

void

This method is deprecated.

Use TabLayout and ViewPager instead.

void
setup(
    @NonNull Context context,
    @NonNull FragmentManager manager,
    int containerId
)

This method is deprecated.

Use TabLayout and ViewPager instead.