Convert variable to local
This commit is contained in:
parent
682450dc7f
commit
3748887714
1 changed files with 1 additions and 3 deletions
|
@ -40,8 +40,6 @@ public class WikivoyageExploreDialogFragment extends WikivoyageBaseDialogFragmen
|
|||
private ExploreTabFragment exploreTabFragment;
|
||||
private SavedArticlesTabFragment savedArticlesTabFragment;
|
||||
|
||||
private ViewPagerAdapter adapter;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
@ -103,7 +101,7 @@ public class WikivoyageExploreDialogFragment extends WikivoyageBaseDialogFragmen
|
|||
}
|
||||
});
|
||||
|
||||
adapter = new ViewPagerAdapter(childFm);
|
||||
ViewPagerAdapter adapter = new ViewPagerAdapter(childFm);
|
||||
final LockableViewPager viewPager = (LockableViewPager) mainView.findViewById(R.id.view_pager);
|
||||
viewPager.setOffscreenPageLimit(2);
|
||||
viewPager.setSwipeLocked(true);
|
||||
|
|
Loading…
Reference in a new issue