ViewHolder
open class ViewHolder : RowPresenter.ViewHolder
The ViewHolder for the AbstractMediaItemPresenter
. It references different views that place different meta-data corresponding to a media item details, actions, selector, listeners, and presenters,
Summary
Public methods |
open ViewGroup! |
|
open View! |
|
open TextView! |
|
open TextView! |
Returns the view displayed when the media item is neither playing nor paused, corresponding to the playback state of PLAY_STATE_INITIAL.
|
open TextView! |
|
open ViewFlipper! |
|
open View! |
|
open View! |
|
open Array<MultiActionsProvider.MultiAction!>! |
|
open View! |
|
open View! |
|
open Unit |
Notifies an action has changed in this media row and the UI needs to be updated
|
open Unit |
Notifies the content of the media item details in a row has changed and triggers updating the UI.
|
open Unit |
Notifies the playback state of the media item row has changed.
|
open Unit |
Binds the actions in a media item row object to their views.
|
open Unit |
Flips to the view at index 'position'.
|
Public constructors
<init>
ViewHolder(view: View!)
Public methods
open fun getMediaItemActionsContainer(): ViewGroup!
Return |
ViewGroup! |
The view containing the set of custom actions |
open fun getMediaItemDetailsView(): View!
Return |
View! |
The view container of media item details |
open fun getMediaItemDurationView(): TextView!
Return |
TextView! |
The TextView responsible for rendering the media item duration |
open fun getMediaItemNameView(): TextView!
Returns the view displayed when the media item is neither playing nor paused, corresponding to the playback state of PLAY_STATE_INITIAL.
Return |
TextView! |
The TextView responsible for rendering the media item name. |
open fun getMediaItemNumberView(): TextView!
Return |
TextView! |
The TextView responsible for rendering the media item number. This view is rendered when the media item row is neither playing nor paused. |
open fun getMediaItemNumberViewFlipper(): ViewFlipper!
Return |
ViewFlipper! |
The FlipperView responsible for flipping between different media item number views depending on the playback state |
open fun getMediaItemPausedView(): View!