toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.library
/
LibraryViewModel
Library
View
Model
class
LibraryViewModel
:
ViewModel
(
source
)
Members
Constructors
Library
View
Model
Link copied to clipboard
constructor
(
)
Properties
available
Api
Names
Link copied to clipboard
val
availableApiNames
:
List
<
String
>
current
Api
Name
Link copied to clipboard
val
currentApiName
:
<Error class: unknown class>
<
String
>
current
Page
Link copied to clipboard
val
currentPage
:
<Error class: unknown class>
<
Int
>
current
Sorting
Method
Link copied to clipboard
var
currentSortingMethod
:
ListSorting
?
current
Sync
Api
Link copied to clipboard
var
currentSyncApi
:
SyncRepo
?
pages
Link copied to clipboard
val
pages
:
<Error class: unknown class>
<
Resource
<
List
<
SyncAPI.Page
>
>
>
sorting
Methods
Link copied to clipboard
var
sortingMethods
:
List
<
ListSorting
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
reload
Pages
Link copied to clipboard
fun
reloadPages
(
forceReload
:
Boolean
)
sort
Link copied to clipboard
fun
sort
(
method
:
ListSorting
,
query
:
String
?
=
null
)
:
Job
switch
List
Link copied to clipboard
fun
switchList
(
name
:
String
)
switch
Page
Link copied to clipboard
fun
switchPage
(
page
:
Int
)