Stor ombearbetning som skall ge splash möjligheter
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
namespace GreadyPoang.Core;
|
||||
|
||||
public interface INavigationService
|
||||
{
|
||||
Task NavigateToAsync(string route);
|
||||
Task NavigateToPageAsync(Page page);
|
||||
}
|
||||
|
||||
7
GreadyPoang.ViewModelLayer/Interfaces/IOverlayService.cs
Normal file
7
GreadyPoang.ViewModelLayer/Interfaces/IOverlayService.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace GreadyPoang.Core;
|
||||
|
||||
public interface IOverlayService
|
||||
{
|
||||
void ShowSplash(string text, int duration);
|
||||
void HideSplash();
|
||||
}
|
||||
6
GreadyPoang.ViewModelLayer/Interfaces/IPageFactory.cs
Normal file
6
GreadyPoang.ViewModelLayer/Interfaces/IPageFactory.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace GreadyPoang.Core;
|
||||
|
||||
public interface IPageFactory
|
||||
{
|
||||
Page CreateRoundPage();
|
||||
}
|
||||
9
GreadyPoang.ViewModelLayer/Interfaces/ISplashService.cs
Normal file
9
GreadyPoang.ViewModelLayer/Interfaces/ISplashService.cs
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
namespace GreadyPoang.Core;
|
||||
|
||||
public interface ISplashService
|
||||
{
|
||||
Task ShowSplash(string text = "Välkommen!", int durationMs = 3000);
|
||||
Task HideAsync();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user