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

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

This method is deprecated.

Use TabLayout and ViewPager instead.

@Override @NonNull void

This method is deprecated.

Use TabLayout and ViewPager instead.

@Override @NonNull void

This method is deprecated.

Use TabLayout and ViewPager instead.

@Override @NonNull void

This method is deprecated.

Use TabLayout and ViewPager instead.

@NonNull void

This method is deprecated.

Use TabLayout and ViewPager instead.

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

This method is deprecated.

Use TabLayout and ViewPager instead.

Inherited methods

From class FrameLayout
From class TabHost
@NonNull void

This method is deprecated.

@NonNull void

This method is deprecated.

@NonNull boolean

This method is deprecated.

@NonNull void

This method is deprecated.

@NonNull CharSequence

This method is deprecated.

@NonNull int

This method is deprecated.

@NonNull String

This method is deprecated.

@NonNull View

This method is deprecated.

@NonNull View

This method is deprecated.

@NonNull FrameLayout

This method is deprecated.

@