This file contains hidden or 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.Threading.Tasks; | |
using Xamarin.Forms; | |
#if __IOS__ | |
using Xamarin.Forms.Platform.iOS; | |
using UIKit; | |
#elif __ANDROID__ | |
using Android.Graphics; | |
using Xamarin.Forms.Platform.Android; | |
using Application = Android.App.Application; | |
#endif |
This file contains hidden or 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
var httpHandler = new HttpClientHandler | |
{ | |
ServerCertificateCustomValidationCallback = (o, cert, chain, errors) => true | |
}; | |
var client = new HttpClient(httpHandler); |
This file contains hidden or 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
<MediaElement | |
x:Name="_mediaElement" | |
HeightRequest="200" | |
Aspect="{Binding Aspect}" | |
AutoPlay="{Binding AutoPlay}" | |
IsLooping="{Binding IsLooping}" | |
KeepScreenOn="{Binding KeepScreenOn}" | |
ShowsPlaybackControls="{Binding ShowsPlaybackControls}" | |
Source="{Binding Source}" | |
VerticalOptions="Start" /> |
This file contains hidden or 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 partial class App : Application | |
{ | |
static App() | |
{ | |
Device.SetFlags(new[] { "MediaElement_Experimental" }); | |
} | |
public App() | |
{ | |
InitializeComponent(); |
This file contains hidden or 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 App : App<F7Micro, App> | |
{ | |
DisplayTftSpiBase display; | |
ISpiBus spiBus; | |
public App() | |
{ | |
var config = new SpiClockConfiguration(6000, SpiClockConfiguration.Mode.Mode3); | |
spiBus = Device.CreateSpiBus(Device.Pins.SCK, | |
Device.Pins.MOSI, |
This file contains hidden or 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 GPlayMusicSearchHandler : SearchHandler | |
{ | |
public GPlayMusicSearchHandler() | |
{ | |
} | |
protected override void OnQueryChanged(string oldValue, string newValue) | |
{ | |
base.OnQueryChanged(oldValue, newValue); |
This file contains hidden or 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
<!-- | |
REGULAR COLLECTION VIEW(LISTVIEW STYLE) | |
--> | |
<CollectionView ItemsSource="{Binding Cards}"> | |
<CollectionView.ItemTemplate> | |
<DataTemplate> | |
<views:HomeCardView /> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<Shell | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" | |
xmlns:local="clr-namespace:GPlayMusic.Views" | |
Title="GPlayMusic" | |
x:Class="GPlayMusic.AppShell"> |
This file contains hidden or 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
//api/v1/user/register | |
//Request | |
{ | |
"Email": "[email protected]", | |
"Password": "Test1234!", | |
"ConfirmPassword": "Test1234!", | |
"Name": "Alejandro", | |
"LastName": "Ruiz", | |
"City": "Guadalajara" | |
} |
This file contains hidden or 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 System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Authentication.JwtBearer; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Identity; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Extensions.Configuration; |
NewerOlder