[Android] [PATCH 2/7] About: variable renaming

Jean-Baptiste Kempf jb at videolan.org
Sat Jun 13 01:18:37 CEST 2015


---
 vlc-android/src/org/videolan/vlc/gui/AboutFragment.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/AboutFragment.java b/vlc-android/src/org/videolan/vlc/gui/AboutFragment.java
index f926e2c..8b0763d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/AboutFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/AboutFragment.java
@@ -54,7 +54,7 @@ public class AboutFragment extends Fragment {
     public final static int MODE_TOTAL = 2; // Number of audio browser modes
 
     private ViewPager mViewPager;
-    private TabLayout mSlidingTabLayout;
+    private TabLayout mTabLayout;
 
     @Override
     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
@@ -96,9 +96,9 @@ public class AboutFragment extends Fragment {
         mViewPager.setOffscreenPageLimit(MODE_TOTAL-1);
         mViewPager.setAdapter(new AudioPagerAdapter(lists, titles));
 
-        mSlidingTabLayout = (TabLayout) v.findViewById(R.id.sliding_tabs);
-        mSlidingTabLayout.setupWithViewPager(mViewPager);
-        mSlidingTabLayout.setTabMode(TabLayout.MODE_FIXED);
+        mTabLayout = (TabLayout) v.findViewById(R.id.sliding_tabs);
+        mTabLayout.setupWithViewPager(mViewPager);
+        mTabLayout.setTabMode(TabLayout.MODE_FIXED);
 
         return v;
     }
-- 
2.4.2



More information about the Android mailing list