blob: 65da4522b0347f8ac9c3dff130b29c93b983a104 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Github, 2783, "MemoryLeak in FrameRenderer", PlatformAffected.Android, NavigationBehavior.PushModalAsync)]
public class Issue2783 : ContentPage
{
public Issue2783 ()
{
Frame frPatientInfo = new Frame
{
OutlineColor = Color.Black,
BackgroundColor = Color.White,
HasShadow = true,
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.Center,
Padding = 5,
Content = new AbsoluteLayout {
BackgroundColor = Color.Red,
HeightRequest = 1000,
WidthRequest = 2000,
}
};
Content = frPatientInfo;
}
}
}
|