Package com.jwplayer.pub.ui.viewmodels
Interface AudiotracksMenuViewModel
-
public interface AudiotracksMenuViewModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description androidx.lifecycle.LiveData<AudioTrack>
getCurrentlySelectedItem()
androidx.lifecycle.LiveData<java.util.List<AudioTrack>>
getItemList()
androidx.lifecycle.LiveData<java.lang.Boolean>
isMenuIconVisible()
androidx.lifecycle.LiveData<java.lang.Boolean>
isUiLayerVisible()
void
onItemSelected(AudioTrack item)
void
setUiLayerVisibility(java.lang.Boolean isVisible)
-
-
-
Method Detail
-
onItemSelected
void onItemSelected(AudioTrack item)
-
isMenuIconVisible
@NonNull androidx.lifecycle.LiveData<java.lang.Boolean> isMenuIconVisible()
-
getCurrentlySelectedItem
@Nullable androidx.lifecycle.LiveData<AudioTrack> getCurrentlySelectedItem()
-
getItemList
@Nullable androidx.lifecycle.LiveData<java.util.List<AudioTrack>> getItemList()
-
setUiLayerVisibility
void setUiLayerVisibility(java.lang.Boolean isVisible)
-
isUiLayerVisible
androidx.lifecycle.LiveData<java.lang.Boolean> isUiLayerVisible()
-
-