$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
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
namespace Mobile.Services | |
{ | |
public interface IImageMergeService | |
{ | |
byte[] MergeTwoImageByteArrays(byte[] imageBackgroundBytes, byte[] imageForegroundBytes); | |
} | |
} |
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 class CalendarNotificationModel | |
{ | |
public string Name { get; set; } | |
public IEnumerable<Attendee> Attendees { get; set; } | |
public DateTime StartDateTime { get; set; } | |
public string CreatorEmail { get; set; } | |
public string Location { get; set; } | |
public string Description { get; set; } | |
} |
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
[CollectionDefinition("Test")] | |
public class AccountServiceTests | |
{ | |
private readonly InjectFixture _injectFixture; | |
public AccountServiceTests() | |
{ | |
_injectFixture = new InjectFixture(); | |
} |
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
[CollectionDefinition("Test")] | |
public class AccountServiceTests | |
{ | |
private readonly InjectFixture _injectFixture; | |
public AccountServiceTests() | |
{ | |
_injectFixture = new InjectFixture(); | |
} |
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
[CollectionDefinition("Test")] | |
public class AccountServiceTests | |
{ | |
private readonly InjectFixture _injectFixture; | |
public AccountServiceTests() | |
{ | |
_injectFixture = new InjectFixture(); | |
} |
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
Multiple Mutation |
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 override void OnBackPressed() | |
{ | |
RunOnUiThread( | |
async () => | |
{ | |
var isCloseApp = await AlertAsync(this, "NameOfApp", "Do you want to close this app?", "Yes", "No"); | |
if (isCloseApp) | |
{ |
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
<controls:ShadowFrame Grid.Row="1" Padding="0" VerticalOptions="Center"> | |
<controls:ShadowFrame.Content> | |
<StackLayout Spacing="10" VerticalOptions="FillAndExpand"> | |
<Image Source="https://i.ytimg.com/vi/61aM0DXpKkc/maxresdefault.jpg" Aspect="AspectFill" /> | |
<Label Text="EXTREME DOWNHILL" Margin="20, 0" /> | |
<Label Margin="20, 10, 20, 40" Text="Downhill mountain biking (DH) is a genre of mountain biking practiced on steep, rough terrain that often features jumps, drops, rock gardens and other obstacles ..." /> | |
</StackLayout> | |
</controls:ShadowFrame.Content> | |
</controls:ShadowFrame> |
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
using System; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.Android; | |
using Xamarin.Forms.Samples.Controls; | |
using Xamarin.Forms.Samples.Droid.Renderers; | |
[assembly: ExportRenderer(typeof(ShadowFrame), typeof(ShadowFrameRenderer))] | |
namespace Xamarin.Forms.Samples.Droid.Renderers | |
{ |
NewerOlder