[Android] MediaList: add javadoc for move

Edward Wang git at videolan.org
Thu Jan 23 21:09:07 CET 2014


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Thu Jan 23 15:08:52 2014 -0500| [3033e6cd9faba6de7eda24f70cf8950d3b69b5a3] | committer: Edward Wang

MediaList: add javadoc for move

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3033e6cd9faba6de7eda24f70cf8950d3b69b5a3
---

 vlc-android/src/org/videolan/libvlc/MediaList.java |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/vlc-android/src/org/videolan/libvlc/MediaList.java b/vlc-android/src/org/videolan/libvlc/MediaList.java
index 074c733..f6b86b5 100644
--- a/vlc-android/src/org/videolan/libvlc/MediaList.java
+++ b/vlc-android/src/org/videolan/libvlc/MediaList.java
@@ -134,6 +134,13 @@ public class MediaList {
         signal_list_event(EventHandler.CustomMediaListItemAdded, position, media.getLocation());
     }
 
+    /**
+     * Move a media from one position to another
+     *
+     * @param startPosition start position
+     * @param endPosition end position
+     * @throws IndexOutOfBoundsException
+     */
     public void move(int startPosition, int endPosition) {
         if(!( isValid(startPosition) && isValid(endPosition) ))
             throw new IndexOutOfBoundsException("Indexes out of range");



More information about the Android mailing list