Skip to content

Commit

Permalink
rx
Browse files Browse the repository at this point in the history
  • Loading branch information
aerdy committed Mar 20, 2017
1 parent 367c050 commit e6e5041
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 142 deletions.
1 change: 0 additions & 1 deletion PDFCreateLib/.gitignore

This file was deleted.

32 changes: 0 additions & 32 deletions PDFCreateLib/build.gradle

This file was deleted.

17 changes: 0 additions & 17 deletions PDFCreateLib/proguard-rules.pro

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions PDFCreateLib/src/main/AndroidManifest.xml

This file was deleted.

33 changes: 0 additions & 33 deletions PDFCreateLib/src/main/java/com/example/pdfcreatelib/PDFCreb.java

This file was deleted.

3 changes: 0 additions & 3 deletions PDFCreateLib/src/main/res/values/strings.xml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@
import java.util.ArrayList;

public class VigerAdapter extends PagerAdapter {
private Context context;
private ArrayList<Bitmap> itemList;
private LayoutInflater mLayoutInflater;
private PhotoViewAttacher mAttacher;

public VigerAdapter(Context context, ArrayList<Bitmap> itemList) {
this.context = context;
this.itemList = itemList;
mLayoutInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}
Expand All @@ -47,7 +44,7 @@ public Object instantiateItem(ViewGroup container, int position) {
ImageView imageView = (ImageView) itemView.findViewById(R.id.imgData);
imageView.setImageBitmap(itemList.get(position));
container.addView(itemView);
mAttacher = new PhotoViewAttacher(imageView);
new PhotoViewAttacher(imageView);
return itemView;
}

Expand Down

0 comments on commit e6e5041

Please sign in to comment.