YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.imageviewer.ImageViewerViewModel Class Reference

ViewModel for ImageViewerActivity. More...

Inheritance diagram for de.yaacc.imageviewer.ImageViewerViewModel:
Inheritance graph
Collaboration diagram for de.yaacc.imageviewer.ImageViewerViewModel:
Collaboration graph

Public Member Functions

LiveData< ImageViewerState > getState ()
 
 ImageViewerViewModel (@NonNull Application application)
 
LiveData< PlayMode > getPlayModeLive ()
 
PlayMode getPlayMode ()
 
void setPlayMode (PlayMode mode)
 May be called from any thread.
 
void setImageUris (List< Uri > uris)
 
void setCurrentIndex (int currentIndex)
 
void next ()
 Somebody skips to the next image (swipe, button, remote control).
 
void previous ()
 
void play ()
 
void pause ()
 
void stop ()
 
void toggleControls ()
 
void showControls ()
 
void hideControls ()
 
void setDurationMs (long durationMs)
 

Protected Member Functions

void onCleared ()
 

Detailed Description

ViewModel for ImageViewerActivity.


The documentation for this class was generated from the following file: