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.

@NonNull TabWidget

This method is deprecated.

@NonNull TabHost.TabSpec

This method is deprecated.

@NonNull void
onTouchModeChanged(@NonNull boolean isInTouchMode)

This method is deprecated.

@NonNull void
setCurrentTab(@NonNull int index)

This method is deprecated.

@NonNull void

This method is deprecated.

From class View
@NonNull void
@NonNull void
@NonNull void
@NonNull ViewPropertyAnimator
@NonNull void
@NonNull void
@NonNull void
@NonNull void

This method is deprecated.

@NonNull void
@NonNull boolean
@NonNull boolean
@NonNull boolean
@NonNull boolean
@NonNull boolean
@NonNull boolean
canScrollVertically(@NonNull int direction)
final @NonNull void
@NonNull void
final @NonNull void
@NonNull boolean
@NonNull void
@NonNull void
static @NonNull int
combineMeasuredStates(@NonNull int curState, @NonNull int newState)
@NonNull void
@NonNull WindowInsets
computeSystemWindowInsets(
    @NonNull WindowInsets in,
    @NonNull Rect outLocalInsets
)
@NonNull AccessibilityNodeInfo
@NonNull void
@NonNull void

This method is deprecated.

@NonNull boolean
@NonNull boolean
dispatchNestedFling(
    @NonNull float velocityX,
    @NonNull float velocityY,
    @NonNull boolean consumed
)
@NonNull boolean
dispatchNestedPreFling(@NonNull float velocityX, @NonNull float velocityY)
@NonNull boolean
dispatchNestedPrePerformAccessibilityAction(
    @NonNull int action,
    @NonNull Bundle arguments
)
@NonNull boolean
dispatchNestedPreScroll(
    @NonNull int dx,
    @NonNull int dy,
    @NonNull Array<@NonNull int> consumed,
    @NonNull Array<@NonNull int> offsetInWindow
)
@NonNull boolean
dispatchNestedScroll(
    @NonNull int dxConsumed,
    @NonNull int dyConsumed,
    @NonNull int dxUnconsumed,
    @NonNull int dyUnconsumed,
    @NonNull Array<@NonNull int> offsetInWindow
)
@NonNull boolean
@NonNull void
draw(@NonNull Canvas canvas)
@NonNull void
drawableHotspotChanged(@NonNull float x, @NonNull float y)
final @NonNull T
<T extends View> findViewById(@NonNull int id)
final @NonNull T
<T extends View> findViewWithTag(@NonNull Object tag)
@NonNull void
forceHasOverlappingRendering(@NonNull boolean hasOverlappingRendering)
@NonNull void
@NonNull void
generateDisplayHash(
    @NonNull String hashAlgorithm,
    @NonNull Rect bounds,
    @NonNull Executor executor,
    @NonNull DisplayHashResultCallback callback
)
static @NonNull int
@NonNull View.AccessibilityDelegate
@NonNull int
@NonNull AccessibilityNodeProvider
@NonNull CharSequence
@NonNull int