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 Xamarin.Forms.Platform.Android; | |
using Xamarin.Forms; | |
using Core.Droid.Renders; | |
using Core.Controls; | |
using Android.Widget; | |
[assembly: ExportRenderer (typeof (CustomImageCell), typeof (CustomImageCellRenderer))] | |
namespace Core.Droid.Renders | |
{ |
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.Resources; | |
using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
using Xamarin.Forms.Xaml; | |
// General Information about an assembly is controlled through the following | |
// set of attributes. Change these attribute values to modify the information | |
// associated with an assembly. | |
[assembly: AssemblyTitle("Core")] |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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"?> | |
<ContentPage | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="Core.Views.Page1View" | |
Title="Page 1" | |
> | |
<ContentPage.Content> | |
<StackLayout> | |
<Button |
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 System.Windows.Input; | |
using Core.Interfaces; | |
using Xamarin.Forms; | |
namespace Core.ViewModels | |
{ | |
public class Page1ViewModel : BaseViewModel | |
{ | |
public ICommand GotoPage2Command => |
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 Core.Helpers; | |
using Core.Interfaces; | |
using Core.Views; | |
using Xamarin.Forms; | |
namespace Core | |
{ | |
public partial class App : Application | |
{ | |
public App() |
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
... | |
namespace Droid | |
{ | |
public class MainActivity : FormsAppCompatActivity | |
{ | |
private static string _newTheme; | |
private static bool _canChangeTheme = false; | |
protected override void OnCreate(Bundle bundle) |
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
image: php:5.6 | |
cache: | |
paths: | |
- vendor/ | |
stages: | |
- qa | |
- test | |
- doc |