2018-03-22 19:16:11 +00:00
|
|
|
|
using Ooui;
|
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Samples
|
|
|
|
|
{
|
|
|
|
|
public class RefreshListViewSample : ISample
|
|
|
|
|
{
|
|
|
|
|
public string Title => "Xamarin.Forms RefreshListView";
|
2018-09-02 04:56:35 +00:00
|
|
|
|
public string Path => "/refreshlistview";
|
2018-03-22 19:16:11 +00:00
|
|
|
|
|
|
|
|
|
public Ooui.Element CreateElement ()
|
|
|
|
|
{
|
|
|
|
|
var page = new RefreshListView();
|
|
|
|
|
return page.GetOouiElement ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Publish ()
|
|
|
|
|
{
|
2018-09-02 04:56:35 +00:00
|
|
|
|
UI.Publish (Path, CreateElement);
|
2018-03-22 19:16:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|