Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
*/

public class PagerAdapter extends FragmentPagerAdapter {
private Context context;
private int count;
public List<Fragment> fragmentList;
private Context _context;
private int _count;
public List<Fragment> _fragmentList;

public PagerAdapter(FragmentManager fm, int Count, Context c, List<Fragment> fragments) {
public PagerAdapter(FragmentManager fm, int count, Context context, List<Fragment> fragments) {
super(fm);
count = Count;
context = c;
fragmentList = fragments;
_count = count;
_context = context;
_fragmentList = fragments;
}

@Override
public Fragment getItem(int position) {
return fragmentList.get(position);
return _fragmentList.get(position);
}

@Override
public int getCount() {
return count;
return _count;
}
}