[Android] About: variable renaming

Jean-Baptiste Kempf git at videolan.org
Mon Jun 15 11:45:22 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 13 01:18:37 2015 +0200| [3f05c0bff06b0ac9a64452612f698d51f3476bc8] | committer: Geoffrey Métais

About: variable renaming

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

 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;
     }



More information about the Android mailing list