зеркало из https://github.com/DeGsoft/maui-linux.git
Update obsolete messages for 2.5
This commit is contained in:
Родитель
e84fe4d649
Коммит
748c781b96
|
@ -12,7 +12,7 @@ namespace Xamarin
|
|||
{
|
||||
public static bool IsInitialized { get; private set; }
|
||||
|
||||
[Obsolete("Context is obsolete as of version 3.0. Please use a local context instead.")]
|
||||
[Obsolete("Context is obsolete as of version 2.5. Please use a local context instead.")]
|
||||
public static Context Context { get; private set; }
|
||||
|
||||
public static void Init(Activity activity, Bundle bundle)
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace Xamarin.Forms.Maps.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use MapRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use MapRenderer(Context) instead.")]
|
||||
public MapRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use CarouselPageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use CarouselPageRenderer(Context) instead.")]
|
||||
public CarouselPageRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use FrameRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use FrameRenderer(Context) instead.")]
|
||||
public FrameRenderer()
|
||||
{
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use MasterDetailPageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use MasterDetailPageRenderer(Context) instead.")]
|
||||
public MasterDetailPageRenderer() : base(Forms.Context)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
Device.Info.PropertyChanged += DeviceInfoPropertyChanged;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use NavigationPageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use NavigationPageRenderer(Context) instead.")]
|
||||
public NavigationPageRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use PickerRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use PickerRenderer(Context) instead.")]
|
||||
public PickerRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use SwitchRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use SwitchRenderer(Context) instead.")]
|
||||
public SwitchRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use TabbedPageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use TabbedPageRenderer(Context) instead.")]
|
||||
public TabbedPageRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ViewRenderer(Context) instead.")]
|
||||
protected ViewRenderer()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
return new AColor((byte)(byte.MaxValue * self.R), (byte)(byte.MaxValue * self.G), (byte)(byte.MaxValue * self.B), (byte)(byte.MaxValue * self.A));
|
||||
}
|
||||
|
||||
[Obsolete("ToAndroid(this Color, int) is obsolete as of version 3.0. Please use ToAndroid(this Color, int, Context) instead.")]
|
||||
[Obsolete("ToAndroid(this Color, int) is obsolete as of version 2.5. Please use ToAndroid(this Color, int, Context) instead.")]
|
||||
public static AColor ToAndroid(this Color self, int defaultColorResourceId)
|
||||
{
|
||||
if (self == Color.Default)
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers
|
|||
Initialize();
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ButtonRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ButtonRenderer(Context) instead.")]
|
||||
public ButtonRenderer() : base(Forms.Context)
|
||||
{
|
||||
_automationPropertiesProvider = new AutomationPropertiesProvider(this);
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers
|
|||
_effectControlProvider = new EffectControlProvider(this);
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use FrameRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use FrameRenderer(Context) instead.")]
|
||||
public FrameRenderer() : base(Forms.Context)
|
||||
{
|
||||
_gestureManager = new GestureManager(this);
|
||||
|
|
|
@ -163,7 +163,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ImageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ImageRenderer(Context) instead.")]
|
||||
public ImageRenderer() : base(Forms.Context)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers
|
|||
_visualElementRenderer = new VisualElementRenderer(this);
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use LabelRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use LabelRenderer(Context) instead.")]
|
||||
public LabelRenderer(): base(Forms.Context)
|
||||
{
|
||||
_labelTextColorDefault = TextColors;
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Xamarin.Forms
|
|||
|
||||
static bool? s_isLollipopOrNewer;
|
||||
|
||||
[Obsolete("Context is obsolete as of version 3.0. Please use a local context instead.")]
|
||||
[Obsolete("Context is obsolete as of version 2.5. Please use a local context instead.")]
|
||||
public static Context Context { get; internal set; }
|
||||
|
||||
// One per process; does not change, suitable for loading resources (e.g., ResourceProvider)
|
||||
|
@ -65,7 +65,7 @@ namespace Xamarin.Forms
|
|||
/// Sets title bar visibility programmatically. Must be called after Xamarin.Forms.Forms.Init() method
|
||||
/// </summary>
|
||||
/// <param name="visibility">Title bar visibility enum</param>
|
||||
[Obsolete("SetTitleBarVisibility(AndroidTitleBarVisibility) is obsolete as of version 3.0. "
|
||||
[Obsolete("SetTitleBarVisibility(AndroidTitleBarVisibility) is obsolete as of version 2.5. "
|
||||
+ "Please use SetTitleBarVisibility(Activity, AndroidTitleBarVisibility) instead.")]
|
||||
public static void SetTitleBarVisibility(AndroidTitleBarVisibility visibility)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use NativeViewWrapperRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use NativeViewWrapperRenderer(Context) instead.")]
|
||||
public NativeViewWrapperRenderer()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -300,7 +300,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
throw new InvalidOperationException("RemovePage is not supported globally on Android, please use a NavigationPage.");
|
||||
}
|
||||
|
||||
[Obsolete("CreateRenderer(VisualElement) is obsolete as of version 3.0. Please use CreateRenderer(VisualElement, Context) instead.")]
|
||||
[Obsolete("CreateRenderer(VisualElement) is obsolete as of version 2.5. Please use CreateRenderer(VisualElement, Context) instead.")]
|
||||
public static IVisualElementRenderer CreateRenderer(VisualElement element)
|
||||
{
|
||||
return CreateRenderer(element, Forms.Context);
|
||||
|
@ -1075,7 +1075,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
bool _notReallyHandled;
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use DefaultRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use DefaultRenderer(Context) instead.")]
|
||||
public DefaultRenderer()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ActivityIndicatorRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ActivityIndicatorRenderer(Context) instead.")]
|
||||
public ActivityIndicatorRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use BoxRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use BoxRenderer(Context) instead.")]
|
||||
public BoxRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ButtonRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ButtonRenderer(Context) instead.")]
|
||||
public ButtonRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use CarouselPageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use CarouselPageRenderer(Context) instead.")]
|
||||
public CarouselPageRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
Device.Info.PropertyChanged += DeviceInfoPropertyChanged;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use DatePickerRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use DatePickerRenderer(Context) instead.")]
|
||||
public DatePickerRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use EditorRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use EditorRenderer(Context) instead.")]
|
||||
public EditorRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use EntryRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use EntryRenderer(Context) instead.")]
|
||||
public EntryRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use FrameRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use FrameRenderer(Context) instead.")]
|
||||
public FrameRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ImageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ImageRenderer(Context) instead.")]
|
||||
public ImageRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use LabelRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use LabelRenderer(Context) instead.")]
|
||||
public LabelRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ListViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ListViewRenderer(Context) instead.")]
|
||||
public ListViewRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use MasterDetailRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use MasterDetailRenderer(Context) instead.")]
|
||||
public MasterDetailRenderer() : base(Forms.Context)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use NavigationMenuRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use NavigationMenuRenderer(Context) instead.")]
|
||||
public NavigationMenuRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use NavigationRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use NavigationRenderer(Context) instead.")]
|
||||
public NavigationRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use OpenGLViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use OpenGLViewRenderer(Context) instead.")]
|
||||
public OpenGLViewRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use PageRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use PageRenderer(Context) instead.")]
|
||||
public PageRenderer()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use PickerRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use PickerRenderer(Context) instead.")]
|
||||
public PickerRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ProgressBarRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ProgressBarRenderer(Context) instead.")]
|
||||
public ProgressBarRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ScrollViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ScrollViewRenderer(Context) instead.")]
|
||||
public ScrollViewRenderer() : base(Forms.Context)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use SearchBarRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use SearchBarRenderer(Context) instead.")]
|
||||
public SearchBarRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use SliderRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use SliderRenderer(Context) instead.")]
|
||||
public SliderRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use StepperRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use StepperRenderer(Context) instead.")]
|
||||
public StepperRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use SwitchRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use SwitchRenderer(Context) instead.")]
|
||||
public SwitchRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use TabbedRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use TabbedRenderer(Context) instead.")]
|
||||
public TabbedRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use TableViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use TableViewRenderer(Context) instead.")]
|
||||
public TableViewRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use TimePickerRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use TimePickerRenderer(Context) instead.")]
|
||||
public TimePickerRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
AutoPackage = false;
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use WebViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use WebViewRenderer(Context) instead.")]
|
||||
public WebViewRenderer()
|
||||
{
|
||||
AutoPackage = false;
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
return BitmapFactory.DecodeResourceAsync(resource, IdFromTitle(name, DrawableClass));
|
||||
}
|
||||
|
||||
[Obsolete("GetDrawable(this Resources, string) is obsolete as of version 3.0. "
|
||||
[Obsolete("GetDrawable(this Resources, string) is obsolete as of version 2.5. "
|
||||
+ "Please use GetDrawable(this Context, string) instead.")]
|
||||
public static Drawable GetDrawable(this Resources resource, string name)
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ViewRenderer(Context) instead.")]
|
||||
protected ViewRenderer()
|
||||
{
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
{
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use ViewRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use ViewRenderer(Context) instead.")]
|
||||
protected ViewRenderer()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace Xamarin.Forms.Platform.Android
|
|||
return base.DispatchTouchEvent(e);
|
||||
}
|
||||
|
||||
[Obsolete("This constructor is obsolete as of version 3.0. Please use VisualElementRenderer(Context) instead.")]
|
||||
[Obsolete("This constructor is obsolete as of version 2.5. Please use VisualElementRenderer(Context) instead.")]
|
||||
protected VisualElementRenderer() : this(Forms.Context)
|
||||
{
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче