cleanup code, remove some unneeded files
This commit is contained in:
parent
07edebdfcf
commit
f2f3be37b3
47 changed files with 189 additions and 286 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue