[Android] DiffUtil: Call update from mainthread

Geoffrey Métais git at videolan.org
Mon Feb 5 17:18:22 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Sun Feb  4 17:04:01 2018 +0100| [94821dd7b138517ddd2bf88f0999d133ab27c13d] | committer: Geoffrey Métais

DiffUtil: Call update from mainthread

We ave to wait for a proper viewmodel layer to support mutlithreading

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

 .../src/org/videolan/vlc/SortableAdapter.java      |  9 ++----
 .../src/org/videolan/vlc/gui/DiffUtilAdapter.kt    |  8 +++--
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  9 ++++--
 .../vlc/gui/audio/AudioBrowserFragment.java        | 35 ++++++++++++++++++----
 .../vlc/gui/browser/BaseBrowserAdapter.java        | 26 +++++++++-------
 .../vlc/gui/browser/BaseBrowserFragment.java       | 10 +++++--
 .../vlc/gui/browser/FileBrowserFragment.java       |  7 ++++-
 .../vlc/gui/browser/StorageBrowserAdapter.java     |  2 ++
 .../vlc/gui/browser/StorageBrowserFragment.java    |  9 ++++--
 .../videolan/vlc/gui/video/VideoGridFragment.java  | 10 +++++--
 10 files changed, 88 insertions(+), 37 deletions(-)

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


More information about the Android mailing list