Created
July 14, 2019 08:27
-
-
Save hamid-shaikh/24d93419f9b5313685c4dfc40f4b59dc to your computer and use it in GitHub Desktop.
Refit + Prism Forms + Fusillade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IApiService<TInterfaceService> | |
{ | |
// Use to fetch data into a cache when a page loads. Expect that | |
// these requests will only get so far then give up and start failing | |
TInterfaceService Speculative { get; } | |
// Use for network requests that are fetching data that the user is | |
// waiting on *right now* | |
TInterfaceService UserInitiated { get; } | |
// Use for network requests that are running in the background | |
TInterfaceService Background { get; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@syahman
To understand difference better kindly visit Prism documentation (Very good documentation)
Prism Forms Documentation
One suggestion - Use Xamarin.Essential for Connectivity instead of Plugin.Connectivity