[Android] uiJob helper funtion

Geoffrey Métais git at videolan.org
Fri Jun 8 11:12:19 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun  8 11:11:26 2018 +0200| [d8d000bf883b581845acdb00ecf10a0d8304ea52] | committer: Geoffrey Métais

uiJob helper funtion

Replaces launch(UI) with dispatching when needed

> https://code.videolan.org/videolan/vlc-android/commit/d8d000bf883b581845acdb00ecf10a0d8304ea52
---

 .../src/org/videolan/vlc/media/PlaylistManager.kt  | 30 ++++++++++------------
 .../org/videolan/vlc/providers/BrowserProvider.kt  |  6 ++---
 .../src/org/videolan/vlc/util/Kextensions.kt       |  4 ---
 vlc-android/src/org/videolan/vlc/util/Workers.kt   |  8 ++++--
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   |  6 ++---
 .../videolan/vlc/viewmodels/MedialibraryModel.kt   |  8 +++---
 6 files changed, 28 insertions(+), 34 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/d8d000bf883b581845acdb00ecf10a0d8304ea52


More information about the Android mailing list