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:
@@ -18,8 +18,14 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
||||
children = new ArrayList<View>();
|
||||
}
|
||||
|
||||
public ViewGroup(AttributeSet attrs) {
|
||||
super(attrs);
|
||||
public ViewGroup(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
|
||||
children = new ArrayList<View>();
|
||||
}
|
||||
|
||||
public ViewGroup(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs);
|
||||
|
||||
children = new ArrayList<View>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user