NavigationBarTopAdapter

public interface NavigationBarTopAdapter implements InjectedViewAdapter

Adapter for injecting a custom top navigation bar.

Functions

Link copied to clipboard
public abstract View onCreateView(ViewGroup container)

Called when the custom view is required. It will be injected into the SDK's layout.

Link copied to clipboard
public abstract Unit onDestroy()

Called when the layout is destroyed.

Link copied to clipboard
public abstract Unit setMenuResource(@MenuRes() Integer menu)
Link copied to clipboard
public abstract Unit setNavButtonType(NavButtonType navButtonType)

Called when the navigation button type has to change. You should update the look of the navigation button based on its type.

Link copied to clipboard
Link copied to clipboard

Set the click listener for the navigation bar's navigation button.

Link copied to clipboard
public abstract Unit setTitle(String title)

Set the navigation bar title.