зеркало из https://github.com/xamarin/AndroidX.git
Merge pull request #331 from xamarin/create-pull-request/patch-1625465158
Weekly stable updates
This commit is contained in:
Коммит
7b2a0a22de
32
config.json
32
config.json
|
@ -260,16 +260,16 @@
|
|||
{
|
||||
"groupId": "androidx.core",
|
||||
"artifactId": "core",
|
||||
"version": "1.5.0",
|
||||
"nugetVersion": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"nugetVersion": "1.6.0",
|
||||
"nugetId": "Xamarin.AndroidX.Core",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
{
|
||||
"groupId": "androidx.core",
|
||||
"artifactId": "core-ktx",
|
||||
"version": "1.5.0",
|
||||
"nugetVersion": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"nugetVersion": "1.6.0",
|
||||
"nugetId": "Xamarin.AndroidX.Core.Core.Ktx",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
|
@ -308,32 +308,32 @@
|
|||
{
|
||||
"groupId": "androidx.databinding",
|
||||
"artifactId": "databinding-adapters",
|
||||
"version": "4.2.1",
|
||||
"nugetVersion": "4.2.1",
|
||||
"version": "4.2.2",
|
||||
"nugetVersion": "4.2.2",
|
||||
"nugetId": "Xamarin.AndroidX.DataBinding.DataBindingAdapters",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
{
|
||||
"groupId": "androidx.databinding",
|
||||
"artifactId": "databinding-common",
|
||||
"version": "4.2.1",
|
||||
"nugetVersion": "4.2.1",
|
||||
"version": "4.2.2",
|
||||
"nugetVersion": "4.2.2",
|
||||
"nugetId": "Xamarin.AndroidX.DataBinding.DataBindingCommon",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
{
|
||||
"groupId": "androidx.databinding",
|
||||
"artifactId": "databinding-runtime",
|
||||
"version": "4.2.1",
|
||||
"nugetVersion": "4.2.1",
|
||||
"version": "4.2.2",
|
||||
"nugetVersion": "4.2.2",
|
||||
"nugetId": "Xamarin.AndroidX.DataBinding.DataBindingRuntime",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
{
|
||||
"groupId": "androidx.databinding",
|
||||
"artifactId": "viewbinding",
|
||||
"version": "4.2.1",
|
||||
"nugetVersion": "4.2.1",
|
||||
"version": "4.2.2",
|
||||
"nugetVersion": "4.2.2",
|
||||
"nugetId": "Xamarin.AndroidX.DataBinding.ViewBinding",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
|
@ -1076,8 +1076,8 @@
|
|||
{
|
||||
"groupId": "androidx.window",
|
||||
"artifactId": "window",
|
||||
"version": "1.0.0-alpha08",
|
||||
"nugetVersion": "1.0.0.0-alpha08",
|
||||
"version": "1.0.0-alpha09",
|
||||
"nugetVersion": "1.0.0.0-alpha09",
|
||||
"nugetId": "Xamarin.AndroidX.Window",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
|
@ -1108,8 +1108,8 @@
|
|||
{
|
||||
"groupId": "com.google.android.material",
|
||||
"artifactId": "material",
|
||||
"version": "1.3.0",
|
||||
"nugetVersion": "1.3.0.1",
|
||||
"version": "1.4.0",
|
||||
"nugetVersion": "1.4.0",
|
||||
"nugetId": "Xamarin.Google.Android.Material",
|
||||
"dependencyOnly": false
|
||||
},
|
||||
|
|
|
@ -20,11 +20,11 @@ Xamarin.Android.Support.Annotations,Xamarin.AndroidX.Annotation,Xamarin.Android.
|
|||
Xamarin.Android.Support.Annotations,Xamarin.Jetbrains.Annotations,Xamarin.Android.Support.Annotations,Xamarin.Jetbrains.Annotations,13.0.0.4
|
||||
Xamarin.Android.Support.AsyncLayoutInflater,Xamarin.AndroidX.AsyncLayoutInflater,Xamarin.Android.Support.AsyncLayoutInflater,Xamarin.AndroidX.AsyncLayoutInflater,1.0.0.7
|
||||
Xamarin.Android.Support.Collections,Xamarin.AndroidX.Collection,Xamarin.Android.Support.Collections,Xamarin.AndroidX.Collection,1.1.0.7
|
||||
Xamarin.Android.Support.Compat,Xamarin.AndroidX.Core,Xamarin.Android.Support.Compat,Xamarin.AndroidX.Core,1.5.0
|
||||
Xamarin.Android.Support.Compat,Xamarin.AndroidX.Core,Xamarin.Android.Support.Compat,Xamarin.AndroidX.Core,1.6.0
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.ConstraintLayout,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.ConstraintLayout,2.0.4.2
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingAdapters,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingAdapters,4.2.1
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingRuntime,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingRuntime,4.2.1
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.ViewBinding,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.ViewBinding,4.2.1
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingAdapters,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingAdapters,4.2.2
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingRuntime,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.DataBindingRuntime,4.2.2
|
||||
Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.ViewBinding,Xamarin.Android.Support.Constraint.Layout,Xamarin.AndroidX.DataBinding.ViewBinding,4.2.2
|
||||
Xamarin.Android.Support.Constraint.Layout.Solver,Xamarin.AndroidX.ConstraintLayout.Solver,Xamarin.Android.Support.Constraint.Layout.Solver,Xamarin.AndroidX.ConstraintLayout.Solver,2.0.4.2
|
||||
Xamarin.Android.Support.CoordinaterLayout,Xamarin.AndroidX.CoordinatorLayout,Xamarin.Android.Support.CoordinaterLayout,Xamarin.AndroidX.CoordinatorLayout,1.1.0.7
|
||||
Xamarin.Android.Support.Core.UI,Xamarin.AndroidX.Legacy.Support.Core.UI,Xamarin.Android.Support.Core.UI,Xamarin.AndroidX.Legacy.Support.Core.UI,1.0.0.8
|
||||
|
@ -34,7 +34,7 @@ Xamarin.Android.Support.CustomTabs,Xamarin.AndroidX.Browser,Xamarin.Android.Supp
|
|||
Xamarin.Android.Support.CustomView,Xamarin.AndroidX.CustomView,Xamarin.Android.Support.CustomView,Xamarin.AndroidX.CustomView,1.1.0.6
|
||||
Xamarin.Android.Support.Design,Xamarin.Android.ReactiveX.RxJava,Xamarin.Android.Support.Design,Xamarin.Android.ReactiveX.RxJava,2.2.10.1
|
||||
Xamarin.Android.Support.Design,Xamarin.AndroidX.Annotation.Experimental,Xamarin.Android.Support.Design,Xamarin.AndroidX.Annotation.Experimental,1.1.0
|
||||
Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,1.3.0.1
|
||||
Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,1.4.0
|
||||
Xamarin.Android.Support.Design,Xamarin.Kotlin.StdLib,Xamarin.Android.Support.Design,Xamarin.Kotlin.StdLib,1.5.10
|
||||
Xamarin.Android.Support.DocumentFile,Xamarin.AndroidX.DocumentFile,Xamarin.Android.Support.DocumentFile,Xamarin.AndroidX.DocumentFile,1.0.1.7
|
||||
Xamarin.Android.Support.DrawerLayout,Xamarin.AndroidX.DrawerLayout,Xamarin.Android.Support.DrawerLayout,Xamarin.AndroidX.DrawerLayout,1.1.1.2
|
||||
|
|
|
|
@ -2737,12 +2737,12 @@ Android.Support.Design.Widget,BottomSheetDialog,Google.Android.Material.BottomSh
|
|||
Android.Support.Design.Widget,BottomNavigationView,Google.Android.Material.BottomNavigation,BottomNavigationView,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.widget,BottomNavigationView,com.google.android.material.bottomnavigation,BottomNavigationView,
|
||||
Android.Support.Design.Widget,BottomNavigationView.IOnNavigationItemReselectedListener,Google.Android.Material.BottomNavigation,BottomNavigationView.IOnNavigationItemReselectedListener,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.widget,BottomNavigationView.OnNavigationItemReselectedListener,com.google.android.material.bottomnavigation,BottomNavigationView.OnNavigationItemReselectedListener,
|
||||
Android.Support.Design.Widget,BottomNavigationView.IOnNavigationItemReselectedListenerInvoker,Google.Android.Material.BottomNavigation,BottomNavigationView.IOnNavigationItemReselectedListenerInvoker,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.widget,BottomNavigationView.OnNavigationItemReselectedListener,com.google.android.material.bottomnavigation,BottomNavigationView.OnNavigationItemReselectedListener,
|
||||
Android.Support.Design.Widget,BottomNavigationView.NavigationItemReselectedEventArgs,Google.Android.Material.BottomNavigation,BottomNavigationView.NavigationItemReselectedEventArgs,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,,,,,
|
||||
Android.Support.Design.Widget,BottomNavigationView.IOnNavigationItemReselectedListenerImplementor,Google.Android.Material.BottomNavigation,BottomNavigationView.IOnNavigationItemReselectedListenerImplementor,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,mono.android.support.design.widget,BottomNavigationView_OnNavigationItemReselectedListenerImplementor,mono.com.google.android.material.bottomnavigation,BottomNavigationView_OnNavigationItemReselectedListenerImplementor,WARNING: Unable to find a Java mapping, so took a guess.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for .NET type Android.Support.Design.Widget.BottomNavigationView.NavigationItemReselectedEventArgs.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for .NET type Android.Support.Design.Widget.BottomNavigationView.IOnNavigationItemReselectedListenerImplementor.
|
||||
Android.Support.Design.Widget,BottomNavigationView.IOnNavigationItemSelectedListener,Google.Android.Material.BottomNavigation,BottomNavigationView.IOnNavigationItemSelectedListener,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.widget,BottomNavigationView.OnNavigationItemSelectedListener,com.google.android.material.bottomnavigation,BottomNavigationView.OnNavigationItemSelectedListener,
|
||||
Android.Support.Design.Widget,BottomNavigationView.IOnNavigationItemSelectedListenerInvoker,Google.Android.Material.BottomNavigation,BottomNavigationView.IOnNavigationItemSelectedListenerInvoker,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.widget,BottomNavigationView.OnNavigationItemSelectedListener,com.google.android.material.bottomnavigation,BottomNavigationView.OnNavigationItemSelectedListener,
|
||||
Android.Support.Design.Widget,BottomNavigationView.NavigationItemSelectedEventArgs,Google.Android.Material.BottomNavigation,BottomNavigationView.NavigationItemSelectedEventArgs,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,,,,,
|
||||
Android.Support.Design.Widget,BottomNavigationView.IOnNavigationItemSelectedListenerImplementor,Google.Android.Material.BottomNavigation,BottomNavigationView.IOnNavigationItemSelectedListenerImplementor,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,mono.android.support.design.widget,BottomNavigationView_OnNavigationItemSelectedListenerImplementor,mono.com.google.android.material.bottomnavigation,BottomNavigationView_OnNavigationItemSelectedListenerImplementor,WARNING: Unable to find a Java mapping, so took a guess.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for .NET type Android.Support.Design.Widget.BottomNavigationView.NavigationItemSelectedEventArgs.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for .NET type Android.Support.Design.Widget.BottomNavigationView.IOnNavigationItemSelectedListenerImplementor.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for Java type com.google.android.material.bottomnavigation.BottomNavigationView.SavedState.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for Java type com.google.android.material.internal.DrawableUtils.
|
||||
Android.Support.Design.Widget,BottomSheetDialogFragment,Google.Android.Material.BottomSheet,BottomSheetDialogFragment,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.widget,BottomSheetDialogFragment,com.google.android.material.bottomsheet,BottomSheetDialogFragment,
|
||||
|
@ -2769,19 +2769,19 @@ Android.Support.Design.Internal,FlowLayout,Google.Android.Material.Internal,Flow
|
|||
Android.Support.Design.Internal,ViewUtils,Google.Android.Material.Internal,ViewUtils,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,ViewUtils,com.google.android.material.internal,ViewUtils,
|
||||
Android.Support.Design.Internal,IExperimental,Google.Android.Material.Internal,IExperimental,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,Experimental,com.google.android.material.internal,Experimental,
|
||||
Android.Support.Design.Internal,IExperimentalInvoker,Google.Android.Material.Internal,IExperimentalInvoker,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,Experimental,com.google.android.material.internal,Experimental,
|
||||
Android.Support.Design.Internal,BottomNavigationPresenter,Google.Android.Material.BottomNavigation,BottomNavigationPresenter,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,BottomNavigationPresenter,com.google.android.material.bottomnavigation,BottomNavigationPresenter,
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for Java type com.google.android.material.bottomnavigation.BottomNavigationPresenter.
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for Java type com.google.android.material.bottomnavigation.BottomNavigationPresenter.SavedState.
|
||||
Android.Support.Design.Internal,ThemeEnforcement,Google.Android.Material.Internal,ThemeEnforcement,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,ThemeEnforcement,com.google.android.material.internal,ThemeEnforcement,
|
||||
Android.Support.Design.Internal,ExperimentalAttribute,Kotlin,ExperimentalAttribute,Xamarin.Android.Support.Design,Xamarin.Kotlin.StdLib,,,,,
|
||||
Android.Support.Design.Internal,ExperimentalAttribute,Google.Android.Material.Internal,ExperimentalAttribute,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,,,,,
|
||||
Android.Support.Design.Internal,ExperimentalAttribute,AndroidX.Annotations.Experimental,ExperimentalAttribute,Xamarin.Android.Support.Design,Xamarin.AndroidX.Annotation.Experimental,,,,,
|
||||
Android.Support.Design.Internal,ExperimentalAttribute,Google.Android.Material.Internal,ExperimentalAttribute,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,,,,,
|
||||
Android.Support.Design.Internal,ExperimentalAttribute,ReactiveX.Annotations,ExperimentalAttribute,Xamarin.Android.Support.Design,Xamarin.Android.ReactiveX.RxJava,,,,,
|
||||
Android.Support.Design.Internal,NavigationMenuView,Google.Android.Material.Internal,NavigationMenuView,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,NavigationMenuView,com.google.android.material.internal,NavigationMenuView,
|
||||
Android.Support.Design.Internal,ScrimInsetsFrameLayout,Google.Android.Material.Internal,ScrimInsetsFrameLayout,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,ScrimInsetsFrameLayout,com.google.android.material.internal,ScrimInsetsFrameLayout,
|
||||
Android.Support.Design.Internal,ForegroundLinearLayout,Google.Android.Material.Internal,ForegroundLinearLayout,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,ForegroundLinearLayout,com.google.android.material.internal,ForegroundLinearLayout,
|
||||
Android.Support.Design.Internal,ParcelableSparseArray,Google.Android.Material.Internal,ParcelableSparseArray,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,ParcelableSparseArray,com.google.android.material.internal,ParcelableSparseArray,
|
||||
Android.Support.Design.Internal,TextScale,Google.Android.Material.Internal,TextScale,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,TextScale,com.google.android.material.internal,TextScale,
|
||||
Android.Support.Design.Internal,BottomNavigationMenu,Google.Android.Material.BottomNavigation,BottomNavigationMenu,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,BottomNavigationMenu,com.google.android.material.bottomnavigation,BottomNavigationMenu,
|
||||
,,,,,,,,,,WARNING: Unable to find AndroidX type for Java type com.google.android.material.bottomnavigation.BottomNavigationMenu.
|
||||
Android.Support.Design.Internal,NavigationMenu,Google.Android.Material.Internal,NavigationMenu,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,NavigationMenu,com.google.android.material.internal,NavigationMenu,
|
||||
Android.Support.Design.Internal,BottomNavigationMenuView,Google.Android.Material.BottomNavigation,BottomNavigationMenuView,Xamarin.Android.Support.Design,Xamarin.Google.Android.Material,android.support.design.internal,BottomNavigationMenuView,com.google.android.material.bottomnavigation,BottomNavigationMenuView,
|
||||
Android.Support.Constraints.Solver,ArrayLinkedVariables,AndroidX.ConstraintLayout.Solver,ArrayLinkedVariables,Xamarin.Android.Support.Constraint.Layout.Solver,Xamarin.AndroidX.ConstraintLayout.Solver,android.support.constraint.solver,ArrayLinkedVariables,androidx.constraintlayout.solver,ArrayLinkedVariables,
|
||||
|
|
Не удается отобразить этот файл, потому что он слишком большой.
|
|
@ -20,6 +20,7 @@
|
|||
{
|
||||
"id": "Xamarin.AndroidX.Core",
|
||||
"dependencies": [
|
||||
"Xamarin.AndroidX.Annotation.Experimental",
|
||||
"Xamarin.AndroidX.Annotation",
|
||||
"Xamarin.AndroidX.Lifecycle.Runtime",
|
||||
"Xamarin.AndroidX.VersionedParcelable"
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
|
||||
namespace AndroidX.AppCompat.Widget
|
||||
{
|
||||
public partial class ActionBarOverlayLayout
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted(Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
OnNestedScrollAccepted(child, target, scroll_axes, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual bool OnStartNestedScroll(Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
return OnStartNestedScroll(child, target, scroll_axes, @type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -223,17 +223,4 @@
|
|||
<attr path="/api/package[@name='androidx.appcompat.graphics.drawable']/class[@name='AnimatedStateListDrawableCompat']/method[@name='getChangingConfigurations' and count(parameter)=0]" name="managedReturn">Android.Content.PM.ConfigChanges</attr>
|
||||
<attr path="/api/package[@name='androidx.appcompat.widget']/class[@name='ActivityChooserModel.ActivityResolveInfo']/method[@name='compareTo' and count(parameter)=1 and parameter[1][@type='androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo']]/parameter[1]" name="managedType">Java.Lang.Object</attr>
|
||||
|
||||
<remove-node
|
||||
path="/api/package[@name='androidx.appcompat.view.menu']/class[@name='MenuPopupHelper']/implements[@name='androidx.appcompat.view.menu.MenuHelper']"
|
||||
/>
|
||||
|
||||
<!--
|
||||
<attr
|
||||
path="//class[@visibility='']"
|
||||
name="visibility"
|
||||
>
|
||||
public
|
||||
</attr>
|
||||
-->
|
||||
|
||||
</metadata>
|
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.ConstraintLayout.Motion.Widget
|
||||
{
|
||||
public partial class MotionLayout
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
OnNestedScrollAccepted (child, target, scroll_axes, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual bool OnStartNestedScroll (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
return OnStartNestedScroll (child, target, scroll_axes, @type);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.CoordinatorLayout.Widget
|
||||
{
|
||||
public partial class CoordinatorLayout
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted (Android.Views.View child, Android.Views.View target, int nestedScrollAxes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) nestedScrollAxes;
|
||||
|
||||
OnNestedScrollAccepted (child, target, scroll_axes, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual bool OnStartNestedScroll (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
return OnStartNestedScroll (child, target, scroll_axes, @type);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.Core.View
|
||||
{
|
||||
public partial interface INestedScrollingParent2
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted (Android.Views.View child, Android.Views.View target, int axis, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axis = (Android.Views.ScrollAxis) axis;
|
||||
|
||||
OnNestedScrollAccepted(child, target, scroll_axis, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual bool OnStartNestedScroll (Android.Views.View child, Android.Views.View target, int axis, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axis = (Android.Views.ScrollAxis) axis;
|
||||
|
||||
return OnStartNestedScroll(child, target, scroll_axis, @type);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.Core.View
|
||||
{
|
||||
public partial class NestedScrollingParentHelper
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted (Android.Views.View child, Android.Views.View target, int axis, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axis = (Android.Views.ScrollAxis) axis;
|
||||
|
||||
OnNestedScrollAccepted(child, target, scroll_axis, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual void OnNestedScrollAccepted(Android.Views.View child, Android.Views.View target, int axes)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axis = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
OnNestedScrollAccepted(child, target, scroll_axis);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.Core.View
|
||||
{
|
||||
public sealed partial class ViewParentCompat
|
||||
{
|
||||
public static void OnNestedScrollAccepted(Android.Views.IViewParent parent, Android.Views.View child, Android.Views.View target, int nestedScrollAxes)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis)nestedScrollAxes;
|
||||
|
||||
OnNestedScrollAccepted(parent, child, target, scroll_axes);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public static void OnNestedScrollAccepted(Android.Views.IViewParent parent, Android.Views.View child, Android.Views.View target, int nestedScrollAxes, int type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis)nestedScrollAxes;
|
||||
|
||||
OnNestedScrollAccepted(parent, child, target, scroll_axes, @type);
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
public static bool OnStartNestedScroll(Android.Views.IViewParent parent, Android.Views.View child, Android.Views.View target, int nestedScrollAxes)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis)nestedScrollAxes;
|
||||
|
||||
return OnStartNestedScroll(parent, child, target, scroll_axes);
|
||||
|
||||
}
|
||||
|
||||
public static bool OnStartNestedScroll(Android.Views.IViewParent parent, Android.Views.View child, Android.Views.View target, int nestedScrollAxes, int type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis)nestedScrollAxes;
|
||||
|
||||
return OnStartNestedScroll(parent, child, target, scroll_axes);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.Core.Widget
|
||||
{
|
||||
public partial class NestedScrollView
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
OnNestedScrollAccepted(child, target, scroll_axes, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public override void OnNestedScrollAccepted(Android.Views.View child, Android.Views.View target, Android.Views.ScrollAxis axes)
|
||||
{
|
||||
OnStartNestedScroll(child, target, axes);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual bool OnStartNestedScroll (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
return OnStartNestedScroll(child, target, scroll_axes, @type);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -18,12 +18,63 @@
|
|||
<method jni-name="startNestedScroll" parameter="p0" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
<mapping jni-interface="androidx/core/view/NestedScrollingParent">
|
||||
<!--
|
||||
<method jni-name="onNestedScrollAccepted" parameter="p2" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
<method jni-name="onStartNestedScroll" parameter="p2" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
-->
|
||||
<method jni-name="onStartNestedScroll" parameter="axis" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
<method jni-name="getNestedScrollAxes" parameter="return" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
<mapping jni-class="androidx/core/widget/AutoSizeableTextView">
|
||||
<method jni-name="getAutoSizeTextType" parameter="return" clr-enum-type="Android.Widget.AutoSizeTextType" />
|
||||
<method jni-name="setAutoSizeTextTypeWithDefaults" parameter="p0" clr-enum-type="Android.Widget.AutoSizeTextType" />
|
||||
</mapping>
|
||||
|
||||
|
||||
<mapping jni-interface="androidx/core/internal/view/SupportMenuItem">
|
||||
<method jni-name="setShowAsAction" parameter="actionEnum" clr-enum-type="Android.Views.ShowAsAction" />
|
||||
</mapping>
|
||||
<mapping jni-interface="androidx/core/internal/view/SupportMenuItem">
|
||||
<method jni-name="setShowAsActionFlags" parameter="actionEnum" clr-enum-type="Android.Views.ShowAsAction" />
|
||||
</mapping>
|
||||
|
||||
<mapping jni-interface="androidx/core/view/NestedScrollingChild">
|
||||
<method jni-name="startNestedScroll" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
<mapping jni-interface="androidx/core/view/NestedScrollingChild2">
|
||||
<method jni-name="startNestedScroll" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
|
||||
<mapping jni-interface="androidx/core/view/NestedScrollingParent">
|
||||
<method jni-name="onNestedScrollAccepted" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
<method jni-name="onStartNestedScroll" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
<mapping jni-interface="androidx/core/view/NestedScrollingParent2">
|
||||
<method jni-name="onNestedScrollAccepted" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
<method jni-name="onStartNestedScroll" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
|
||||
<mapping jni-class="androidx/core/view/NestedScrollingParentHelper">
|
||||
<method jni-name="onNestedScrollAccepted" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
|
||||
|
||||
<mapping jni-class="androidx/core/view/ViewParentCompat">
|
||||
<method jni-name="onNestedScrollAccepted" parameter="nestedScrollAxes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
<method jni-name="onStartNestedScroll" parameter="nestedScrollAxes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
|
||||
|
||||
<mapping jni-class="androidx/core/widget/NestedScrollView">
|
||||
<method jni-name="onNestedScrollAccepted" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
<method jni-name="onStartNestedScroll" parameter="axes" clr-enum-type="Android.Views.ScrollAxis" />
|
||||
</mapping>
|
||||
|
||||
<mapping jni-interface="androidx/core/app/ActivityCompat.OnRequestPermissionsResultCallback">
|
||||
<method jni-name="onRequestPermissionsResult" parameter="grantResults" clr-enum-type="Android.Content.PM.Permission[]" />
|
||||
</mapping>
|
||||
|
||||
<mapping jni-class="androidx/core/widget/AutoSizeableTextView">
|
||||
<method jni-name="setAutoSizeTextTypeWithDefaults" parameter="autoSizeTextType" clr-enum-type="Android.Widget.AutoSizeTextType" />
|
||||
</mapping>
|
||||
|
||||
</enum-method-mappings>
|
|
@ -44,5 +44,11 @@
|
|||
>
|
||||
AndroidX.Core.Location
|
||||
</attr>
|
||||
<attr
|
||||
path="/api/package[@name='androidx.core.telephony']"
|
||||
name="managedName"
|
||||
>
|
||||
AndroidX.Core.Telephony
|
||||
</attr>
|
||||
|
||||
</metadata>
|
|
@ -35,16 +35,18 @@
|
|||
<remove-node path="/api/package[@name='androidx.core.provider']/class[@name='FontsContractCompat.Columns']/implements[@name='android.provider.BaseColumns']" />
|
||||
|
||||
<attr path="/api/package[@name='androidx.core.view']/interface[@name='NestedScrollingChild']/method[@name='startNestedScroll' and count(parameter)=1 and parameter[1][@type='int']]/parameter[1]" name="managedType">Android.Views.ScrollAxis</attr>
|
||||
<!--
|
||||
<attr path="/api/package[@name='androidx.core.view']/interface[@name='NestedScrollingParent']/method[@name='onStartNestedScroll' and count(parameter)=3 and parameter[1][@type='android.view.View'] and parameter[2][@type='android.view.View'] and parameter[3][@type='int']]/parameter[3]" name="managedType">Android.Views.ScrollAxis</attr>
|
||||
<attr path="/api/package[@name='androidx.core.view']/interface[@name='NestedScrollingParent']/method[@name='getNestedScrollAxes' and count(parameter)=0]" name="managedReturn">Android.Views.ScrollAxis</attr>
|
||||
<add-node path="/api/package[@name='androidx.core.widget']/class[@name='NestedScrollView']">
|
||||
<method deprecated="not deprecated" final="false" bridge="false" native="false" synchronized="false" synthetic="false" jni-return="V" jni-signature="(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;I)V" visibility="public" static="false" abstract="false" return="void" name="onNestedScrollAccepted">
|
||||
<parameter type="android.view.View" name="p0" jni-type="Landroid/view/View;"></parameter>
|
||||
<parameter type="android.view.View" name="p1" jni-type="Landroid/view/View;"></parameter>
|
||||
<parameter type="Android.Views.ScrollAxis" name="p2" jni-type="I"></parameter>
|
||||
<parameter type="android.view.View" name="child" jni-type="Landroid/view/View;"></parameter>
|
||||
<parameter type="android.view.View" name="target" jni-type="Landroid/view/View;"></parameter>
|
||||
<parameter type="android.view.ScrollAxis" name="axes" jni-type="I"></parameter>
|
||||
</method>
|
||||
</add-node>
|
||||
<attr path="/api/package[@name='androidx.core.view']/interface[@name='NestedScrollingParent']/method[@name='onNestedScrollAccepted' and count(parameter)=3 and parameter[1][@type='android.view.View'] and parameter[2][@type='android.view.View'] and parameter[3][@type='int']]/parameter[3]" name="managedType">Android.Views.ScrollAxis</attr>
|
||||
-->
|
||||
|
||||
<attr
|
||||
path="/api/package[@name='androidx.core.content.pm']/class[@name='ShortcutInfoCompatSaver.NoopImpl']/method[@name='addShortcuts' and count(parameter)=1 and parameter[1][@type='java.util.List<androidx.core.content.pm.ShortcutInfoCompat>']]"
|
||||
|
@ -94,4 +96,5 @@
|
|||
path="/api/package[@name='androidx.core.util']/class[@name='Preconditions']/method[@name='checkStringNotEmpty' and count(parameter)=3 and parameter[1][@type='T'] and parameter[2][@type='java.lang.String'] and parameter[3][@type='java.lang.Object...']]"
|
||||
/>
|
||||
|
||||
|
||||
</metadata>
|
|
@ -15,4 +15,10 @@
|
|||
<mapping jni-class="androidx/loader/content/ContextCompat">
|
||||
<method jni-name="checkSelfPermission" parameter="return" clr-enum-type="Android.Content.PM.Permission" />
|
||||
</mapping>
|
||||
|
||||
<mapping jni-class="androidx/fragment/app/FragmentActivity">
|
||||
<method jni-name="onRequestPermissionsResult" parameter="grantResults" clr-enum-type="Android.Content.PM.Permission[]" />
|
||||
</mapping>
|
||||
|
||||
|
||||
</enum-method-mappings>
|
|
@ -1,7 +1,13 @@
|
|||
<metadata>
|
||||
<attr path="/api/package[@name='androidx.fragment.app']/class[@name='FragmentActivity.HostCallbacks']/method[@name='onGetHost' and count(parameter)=0]" name="managedReturn">Java.Lang.Object</attr>
|
||||
<remove-node path="/api/package[@name='androidx.fragment.app']/interface[@name='Fragment.OnStartEnterTransitionListener']" />
|
||||
|
||||
|
||||
<attr
|
||||
path="/api/package[@name='androidx.fragment.app']/class[@name='FragmentManager.StartEnterTransitionListener']"
|
||||
name="visibility"
|
||||
>
|
||||
public
|
||||
</attr>
|
||||
<attr
|
||||
path="/api/package[@name='androidx.fragment.app']/class[@name='BackStackRecord']"
|
||||
name="visibility"
|
||||
|
@ -9,22 +15,5 @@
|
|||
public
|
||||
</attr>
|
||||
|
||||
<remove-node
|
||||
path="/api/package[@name='androidx.fragment.app']/class[@name='FragmentManager.StartEnterTransitionListener']/implements[name='androidx.fragment.app.Fragment.OnStartEnterTransitionListener']"
|
||||
>
|
||||
</remove-node>
|
||||
<attr
|
||||
path="/api/package[@name='androidx.fragment.app']/class[@name='FragmentManager.StartEnterTransitionListener']"
|
||||
name="visibility"
|
||||
>
|
||||
public
|
||||
</attr>
|
||||
|
||||
<attr
|
||||
path="/api/package[@name='androidx.fragment.app']/class[@name='BackStackRecord']"
|
||||
name="visibility"
|
||||
>
|
||||
public
|
||||
</attr>
|
||||
|
||||
</metadata>
|
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace AndroidX.SwipeRefreshLayout.Widget
|
||||
{
|
||||
public partial class SwipeRefreshLayout
|
||||
{
|
||||
public virtual void OnNestedScrollAccepted (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
OnNestedScrollAccepted (child, target, scroll_axes, @type);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public virtual bool OnStartNestedScroll (Android.Views.View child, Android.Views.View target, int axes, int @type)
|
||||
{
|
||||
Android.Views.ScrollAxis scroll_axes = (Android.Views.ScrollAxis) axes;
|
||||
|
||||
return OnStartNestedScroll (child, target, scroll_axes, @type);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
using Android.Runtime;
|
||||
using Java.Interop;
|
||||
using Java.Lang;
|
||||
|
||||
namespace Google.Android.Material.Navigation
|
||||
{
|
||||
|
||||
// Metadata.xml XPath class reference: path="/api/package[@name='com.google.android.material.navigation']/class[@name='NavigationBarItemView']"
|
||||
//[global::Android.Runtime.Register("com/google/android/material/navigation/NavigationBarItemView", DoNotGenerateAcw = true)]
|
||||
public abstract partial class NavigationBarItemView //: global::Android.Widget.FrameLayout, global::AndroidX.AppCompat.View.Menu.IMenuViewItemView
|
||||
{
|
||||
// Metadata.xml XPath method reference: path="/api/package[@name='com.google.android.material.navigation']/class[@name='NavigationBarItemView']/method[@name='setEnabled' and count(parameter)=1 and parameter[1][@type='boolean']]"
|
||||
[Register("setEnabled", "(Z)V", "")]
|
||||
public unsafe void SetEnabled(bool p0)
|
||||
{
|
||||
const string __id = "setEnabled.(Z)V";
|
||||
try
|
||||
{
|
||||
JniArgumentValue* __args = stackalloc JniArgumentValue[1];
|
||||
__args[0] = new JniArgumentValue(p0);
|
||||
_members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args);
|
||||
}
|
||||
finally
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -110,5 +110,11 @@
|
|||
>
|
||||
Google.Android.Material.TimePicker
|
||||
</attr>
|
||||
<attr
|
||||
path="/api/package[@name='com.google.android.material.navigationrail']"
|
||||
name="managedName"
|
||||
>
|
||||
Google.Android.Material.NavigationRail
|
||||
</attr>
|
||||
|
||||
</metadata>
|
|
@ -188,6 +188,29 @@
|
|||
AndroidX.RecyclerView.Widget.RecyclerView.ViewHolder
|
||||
</attr>
|
||||
|
||||
<!--
|
||||
<add-node
|
||||
path="/api/package[@name='com.google.android.material.navigation']/class[@name='NavigationBarItemView']"
|
||||
>
|
||||
<method
|
||||
abstract="false" static="false" visibility="public" return="void" name="setEnabled"
|
||||
deprecated="not deprecated" final="false" jni-signature="(Z)V" bridge="true" native="false"
|
||||
jni-return="V" synchronized="false" synthetic="true"
|
||||
>
|
||||
<parameter name="p0" type="boolean" jni-type="Z">
|
||||
</parameter>
|
||||
</method>
|
||||
|
||||
</add-node>
|
||||
-->
|
||||
|
||||
<attr
|
||||
path="/api/package[@name='com.google.android.material.navigationrail']/class[@name='NavigationRailView']/method[@name='createNavigationBarMenuView' and count(parameter)=1 and parameter[1][@type='android.content.Context']]"
|
||||
name="managedReturn"
|
||||
>
|
||||
Google.Android.Material.Navigation.NavigationBarMenuView
|
||||
</attr>
|
||||
|
||||
<remove-node
|
||||
path="/api/package[@name='com.google.android.material.datepicker']/class[@name='OnSelectionChangedListener']/typeParameters"
|
||||
/>
|
||||
|
|
|
@ -366,7 +366,7 @@ Task ("read-analysis-files")
|
|||
(
|
||||
() =>
|
||||
{
|
||||
string[] files = new[]
|
||||
List<string> files = new List<string>
|
||||
{
|
||||
"./output/spell-errors.txt",
|
||||
"./output/changelog.md",
|
||||
|
@ -375,6 +375,12 @@ Task ("read-analysis-files")
|
|||
"./output/missing_dotnet_type.csv",
|
||||
"./output/missing_java_type.csv",
|
||||
};
|
||||
|
||||
if ( ! FileExists("./output/spell-errors.txt") )
|
||||
{
|
||||
files.Remove("./output/spell-errors.txt");
|
||||
}
|
||||
|
||||
string process = "code";
|
||||
string process_args = $"-n {string.Join(" ", files)}";
|
||||
IEnumerable<string> redirectedStandardOutput;
|
||||
|
|
Загрузка…
Ссылка в новой задаче