public static abstract class


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


Public Constructors
Public Methods
static ToolbarFragment.Delegate create(FragmentActivity activity, boolean useSupportActionBar)
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()
Inherited Methods
From class java.lang.Object

Public Constructors

public Delegate ()

Public Methods

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

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 ()