[Android] handlers: use static inner classes with WeakReference to the outer class

Sébastien Toque git at videolan.org
Thu Jul 5 00:31:48 CEST 2012


android | branch: master | Sébastien Toque <xilasz at gmail.com> | Thu Jul  5 00:30:59 2012 +0200| [d7d878d6806eec6015b0e73277231501c652e1a3] | committer: Sébastien Toque

handlers: use static inner classes with WeakReference to the outer class

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=d7d878d6806eec6015b0e73277231501c652e1a3
---

 vlc-android/src/org/videolan/vlc/AudioService.java |   57 ++++++++++------
 vlc-android/src/org/videolan/vlc/WeakHandler.java  |   37 +++++++++++
 .../vlc/gui/audio/AudioBrowserFragment.java        |   15 +++--
 .../videolan/vlc/gui/audio/AudioListFragment.java  |   11 ++-
 .../videolan/vlc/gui/video/MediaInfoActivity.java  |   31 ++++++---
 .../videolan/vlc/gui/video/VideoListFragment.java  |   35 ++++++----
 .../vlc/gui/video/VideoPlayerActivity.java         |   70 ++++++++++++++------
 7 files changed, 190 insertions(+), 66 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/android.git/?a=commitdiff;h=d7d878d6806eec6015b0e73277231501c652e1a3


More information about the Android mailing list