cleanup code, remove some unneeded files

This commit is contained in:
Conny Duck 2017-10-18 00:20:26 +02:00
commit f2f3be37b3
47 changed files with 189 additions and 286 deletions

View file

@ -73,7 +73,7 @@ public class AccountPagerAdapter extends FragmentPagerAdapter {
public View getTabView(int position, ViewGroup root) {
View view = LayoutInflater.from(context).inflate(R.layout.tab_account, root, false);
TextView title = (TextView) view.findViewById(R.id.title);
TextView title = view.findViewById(R.id.title);
title.setText(pageTitles[position]);
return view;
}

View file

@ -10,13 +10,11 @@ import java.util.Locale;
public class ImagePagerAdapter extends FragmentPagerAdapter {
private String[] urls;
private FragmentManager fragmentManager;
private int initialPosition;
public ImagePagerAdapter(FragmentManager fragmentManager, String[] urls, int initialPosition) {
super(fragmentManager);
this.urls = urls;
this.fragmentManager = fragmentManager;
this.initialPosition = initialPosition;
}