Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 8310b38

Browse files
committed
Added typeforwards to v4 which moved (again)
Historically v4 was split into: Support.Compat, Support.Core.UI, Support.Core.Utils, Support.Media.Compat, Support.Fragment. When this happened we started using GenAPI.exe to create `[assembly: TypeForwardedTo(..)]` attributes in v4 so apps compiled against older v4 versions where the types lived could find them in their new assemblies. In v28, some of these already split new types were further split up, or at least had types moved from the original move. For example, `Android.Support.V4.Util.ArrayMap` moved from Support.Compat to Support.Collections. Since this type is no longer in Support.Compat, it won't be emitted by GenAPI.exe to be included in the V4 assembly's list of type forwards, so we are manually adding them now so they exist in the V4 assembly still. The type forwards also exist in Support.Compat for example, and so we can forward from V4 -> Compat -> Collections.
1 parent 6f8842c commit 8310b38

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// Used to be in Xamarin.Android.Support.Compat
2+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.ArrayMap))]
3+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.CircularArray))]
4+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.CircularIntArray))]
5+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.LongSparseArray))]
6+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.LruCache))]
7+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.SimpleArrayMap))]
8+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Util.SparseArrayCompat))]
9+
10+
// Used to be in Xamarin.Android.Support.Core.UI
11+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.AbsSavedState))]
12+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.AsyncLayoutInflater))]
13+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.NestedScrollingChildHelper))]
14+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.NestedScrollingParentHelper))]
15+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.PagerAdapter))]
16+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.PagerTabStrip))]
17+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.PagerTitleStrip))]
18+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.ViewPager))]
19+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.Animation.FastOutLinearInInterpolator))]
20+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.Animation.FastOutSlowInInterpolator))]
21+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.View.Animation.LinearOutSlowInInterpolator))]
22+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.AutoScrollHelper))]
23+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.CircularProgressDrawable))]
24+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.ContentLoadingProgressBar))]
25+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.CursorAdapter))]
26+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.CursorFilter))]
27+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.CursorFilterICursorFilterClientExtensions))]
28+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.DrawerLayout))]
29+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.ExploreByTouchHelper))]
30+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.ListViewAutoScrollHelper))]
31+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.NestedScrollView))]
32+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.ResourceCursorAdapter))]
33+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.SimpleCursorAdapter))]
34+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.SimpleCursorAdapterICursorToStringConverterExtensions))]
35+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.SlidingPaneLayout))]
36+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.SwipeRefreshLayout))]
37+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Widget.ViewDragHelper))]
38+
39+
// Used to be in Xamarin.Android.Support.Core.Util
40+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.App.AppLaunchChecker))]
41+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.App.FrameMetricsAggregator))]
42+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.App.NavUtils))]
43+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.App.TaskStackBuilder))]
44+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.AsyncTaskLoader))]
45+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.CursorLoader))]
46+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.FileProvider))]
47+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.Loader))]
48+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.LocalBroadcastManager))]
49+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.MimeTypeFilter))]
50+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Content.PermissionChecker))]
51+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Graphics.ColorUtils))]
52+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Graphics.Drawable.RoundedBitmapDrawable))]
53+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Graphics.Drawable.RoundedBitmapDrawableFactory))]
54+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Math.MathUtils))]
55+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Print.PrintHelper))]
56+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.Provider.DocumentFile))]
57+
58+
// Used to be in Xamarin.Android.Support.Fragment
59+
[assembly: global::System.Runtime.CompilerServices.TypeForwardedTo(typeof(global::Android.Support.V4.App.LoaderManager))]

0 commit comments

Comments
 (0)