Register now for Android Dev Summit 2019!

DelegateProvider

interface DelegateProvider
androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider

Allows an implementing Activity to return an ActionBarDrawerToggle.Delegate to use with ActionBarDrawerToggle.

Summary

Public methods

abstract ActionBarDrawerToggle.Delegate?

Public methods

getDrawerToggleDelegate

@Nullable abstract fun getDrawerToggleDelegate(): ActionBarDrawerToggle.Delegate?
Return
ActionBarDrawerToggle.Delegate?: Delegate to use for ActionBarDrawableToggles, or null if the Activity does not wish to override the default behavior.