Skip to content

Commit

Permalink
fix: android instantiation error
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Nov 9, 2020
1 parent ed326ca commit 5d41e0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class DraweeView extends SimpleDraweeView {
public int imageWidth = 0;
public int imageHeight = 0;

DraweeView(Context context) {
public DraweeView(Context context) {
super(context);
}
@Override
Expand Down
3 changes: 0 additions & 3 deletions src/image.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,10 @@ export class Img extends ImageBase {
this.initImage();
}
}
// stretch = ScaleType.FitCenter;

public createNativeView() {
if (!initialized) {
initialize(initializeConfig);
}
// initializeDraweeView();
return new com.nativescript.image.DraweeView(this._context);
}
updateViewSize(imageInfo) {
Expand Down

0 comments on commit 5d41e0c

Please sign in to comment.