22 lines
451 B
C#
22 lines
451 B
C#
using Ooui;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Samples
|
|
{
|
|
public class RefreshListViewSample : ISample
|
|
{
|
|
public string Title => "Xamarin.Forms RefreshListView";
|
|
|
|
public Ooui.Element CreateElement ()
|
|
{
|
|
var page = new RefreshListView();
|
|
return page.GetOouiElement ();
|
|
}
|
|
|
|
public void Publish ()
|
|
{
|
|
UI.Publish ("/refreshlistview", CreateElement);
|
|
}
|
|
}
|
|
}
|