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. Not necessarily required; fragments might still use findViewById or whatever.

Functions

Link copied to clipboard
abstract fun actionBar(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.