summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla39463.xaml.cs
blob: d3a4529b753e55eed203dd18867b884f4130fa9f (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;

namespace Xamarin.Forms.Controls.Issues
{
	[Preserve(AllMembers = true)]
	[Issue(IssueTracker.Bugzilla, 39463, "Items not showing in ListView using DataTemplate when there are more items than can fit on screen", PlatformAffected.WinPhone)]
	public partial class Bugzilla39463 : ContentPage
	{
		public Bugzilla39463 ()
		{
			#if !UITEST
			InitializeComponent ();

			var n = 16;

			var listStr = new List<string>();
			for (int i = 0; i < n; i++)
			{
				listStr.Add("Test : " + i);
			}

			lvView.ItemsSource = listStr;
#endif
		}
	}
}