Ooui-tws-port/Samples/BugSweeperSample.cs

23 lines
496 B
C#

using Ooui;
using Xamarin.Forms;
namespace Samples
{
public class BugSweeperSample : ISample
{
public string Title => "Xamarin.Forms BugSweeper";
public string Path => "/bugsweeper";
public Ooui.Element CreateElement ()
{
var page = new BugSweeper.BugSweeperPage ();
return page.GetOouiElement ();
}
public void Publish()
{
PageExtensions.Ui.Publish(Path, CreateElement);
}
}
}