|
|
@ -39,6 +39,7 @@ class AudioPlayViewModel(application: Application) : BaseViewModel(application) |
|
|
|
} |
|
|
|
} |
|
|
|
book?.let { book -> |
|
|
|
book?.let { book -> |
|
|
|
titleData.postValue(book.name) |
|
|
|
titleData.postValue(book.name) |
|
|
|
|
|
|
|
coverData.postValue(book.getDisplayCover()) |
|
|
|
durChapterIndex = book.durChapterIndex |
|
|
|
durChapterIndex = book.durChapterIndex |
|
|
|
durPageIndex = book.durChapterPos |
|
|
|
durPageIndex = book.durChapterPos |
|
|
|
isLocalBook = book.origin == BookType.local |
|
|
|
isLocalBook = book.origin == BookType.local |
|
|
|