You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add missing Context attribute to all View constructors
This commit is contained in:
@@ -12,8 +12,8 @@ public class ImageView extends View {
|
||||
|
||||
private Bitmap bitmap;
|
||||
|
||||
public ImageView(AttributeSet attrs) {
|
||||
super(attrs);
|
||||
public ImageView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
|
||||
native_constructor(attrs);
|
||||
int resource = attrs.getAttributeResourceValue("http://schemas.android.com/apk/res/android", "src", 0);
|
||||
|
||||
Reference in New Issue
Block a user