public static abstract class

ToolbarFragment.Delegate

extends Object
java.lang.Object
   ↳ com.pdftron.demo.navigation.ToolbarFragment.Delegate

Class Overview

This class defines a delegate which can be used to add inset-aware toolbar functionality to any Fragment fragment inside a FragmentActivity. It can be used when it is not possible to derive directly from ToolbarFragment, for instance when creating a DialogFragment subclass.

Summary

Public Constructors
Delegate()
Public Methods
static ToolbarFragment.Delegate create(FragmentActivity activity, boolean useSupportActionBar, boolean showCustomTitleView)
abstract FragmentActivity getActivity()
abstract void onActivityCreated(Bundle savedInstanceState)
abstract void onViewCreated(View view, Bundle savedInstanceState)
abstract void setTitle(CharSequence title)
abstract void setTitle(int titleId)
abstract void updateToolbarDrawable()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Delegate ()

Public Methods

public static ToolbarFragment.Delegate create (FragmentActivity activity, boolean useSupportActionBar, boolean showCustomTitleView)

public abstract FragmentActivity getActivity ()

public abstract void onActivityCreated (Bundle savedInstanceState)

public abstract void onViewCreated (View view, Bundle savedInstanceState)

public abstract void setTitle (CharSequence title)

public abstract void setTitle (int titleId)

public abstract void updateToolbarDrawable ()