[Android] Update deprecated call
Geoffrey Métais
git at videolan.org
Thu May 7 16:29:24 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu May 7 11:06:16 2015 +0200| [9381b9269121498842a6ab67c34329a0b3edff30] | committer: Geoffrey Métais
Update deprecated call
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9381b9269121498842a6ab67c34329a0b3edff30
---
.../src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index ac35494..0f2e9a9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -135,7 +135,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
mRecyclerView.addItemDecoration(new DividerItemDecoration(getActivity(), DividerItemDecoration.VERTICAL_LIST));
mRecyclerView.setLayoutManager(mLayoutManager);
mRecyclerView.setAdapter(mAdapter);
- mRecyclerView.setOnScrollListener(mScrollListener);
+ mRecyclerView.addOnScrollListener(mScrollListener);
registerForContextMenu(mRecyclerView);
mSwipeRefreshLayout = (SwipeRefreshLayout) v.findViewById(R.id.swipeLayout);
More information about the Android
mailing list