You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
This one was causing issues in the java callable wrapper being generated since it wasn't being generated with the generic type argument on the java side.
Turns out, this might have caused issues in .NET bindings as well, so for now we are safe to remove it as there are still overloads anywhere `BaseOnOffsetChangedListener` is used that accept `OnOffsetChangedListener` and both interfaces contain the same method (as used in practice).
Copy file name to clipboardExpand all lines: source/com.android.support/design/transforms/Metadata.xml
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@
85
85
<attrpath="/api/package[@name='android.support.design.animation']/class[@name='DrawableAlphaProperty']/method[@name='get' and count(parameter)=1 and parameter[1][@type='android.graphics.drawable.Drawable']]"name="managedReturn">Java.Lang.Object</attr>
86
86
<attrpath="/api/package[@name='android.support.design.animation']/class[@name='DrawableAlphaProperty']/method[@name='get' and count(parameter)=1 and parameter[1][@type='android.graphics.drawable.Drawable']]/parameter[1]"name="managedType">Java.Lang.Object</attr>
87
87
88
-
<attrpath="/api/package[@name='android.support.design.widget']/interface[@name='AppBarLayout.OnOffsetChangedListener']/method[@name='onOffsetChanged' and count(parameter)=2 and parameter[1][@type='android.support.design.widget.AppBarLayout'] and parameter[2][@type='int']]/parameter[1]"name="managedType">Java.Lang.Object</attr>
88
+
<!-- <attr path="/api/package[@name='android.support.design.widget']/interface[@name='AppBarLayout.OnOffsetChangedListener']/method[@name='onOffsetChanged' and count(parameter)=2 and parameter[1][@type='android.support.design.widget.AppBarLayout'] and parameter[2][@type='int']]/parameter[1]" name="managedType">Java.Lang.Object</attr> -->
OnOffsetChangedListener now implements BaseOnOffsetChangedListener with just the same method
128
+
This causes some inheritance problems in .NET so we're going to hide this base interface and make sure everywhere that uses it is patched up and uses OnOffsetChangedListener instead
129
+
Luckily for now any methods that take BaseOnOffsetChangedListener also have an overload for OnOffsetChangedListener
0 commit comments