ActionBarProvider

Interface for providing custom action bars for views. Implementing this is optional.

Types

Link copied to clipboard
sealed class ButtonClick
Link copied to clipboard
class ExtraContents(val miniplayerView: <Error class: unknown class>?, val miniplayerConfig: MiniplayerController.Config?)

Properties

Link copied to clipboard

Listener for button clicks in the top bar. Implementations must provide ButtonClick.Back when the top bar's back button is clicked.

Functions

Link copied to clipboard
abstract fun actionBar(fragment: Fragment, id: Int?, title: String?, actionBarContainerView: ViewGroup, actionBarView: ViewGroup): Single<ActionBarProvider.ExtraContents>?

Called when a view is ready to draw an action bar.

Link copied to clipboard
abstract fun onDestroyView()

Called when the library view is about to be destroyed.