Skip to content

Instantly share code, notes, and snippets.


Ione Souza Junior ionixjunior

View GitHub Profile
ionixjunior / .gitconfig
Last active Jun 26, 2020
My simple .gitconfig
View .gitconfig
st = status
ci = commit
br = branch
cia = commit --amend
cian = commit --amend --no-edit
df = diff
co = checkout
cl = clean -dfx
lg = log --oneline --graph
ionixjunior / referencias_talk_android_d8_r8_aapt2.txt
Last active Oct 4, 2019
Referências da talk sobre ferramentas do Android (D8, R8 e AAPT2).
View referencias_talk_android_d8_r8_aapt2.txt
- Entendendo IL -
- The Dex File Format -
- From Code to Dex: A Compilation Story -
- Xamarin Developer Summit talk -
- DVM vs ART -
- Difference between DVM and ART -
- What are "sugar", "desugar" terms in context of Java 8? -
- A deep dive into Android’s D8 dexer and R8 shrinker with Xamarin -
- Next-generation Dex Compiler Now in Preview - https://android-d
ionixjunior / YourClass.cs
Created Dec 20, 2017
Teste de construtor assíncrono
View YourClass.cs
namespace Core
public class YourClass
private Task _taskInitAsync;
public YourClass()
_taskInitAsync = TaskInitAsync();
ionixjunior / .gitlab-ci.yml
Created Oct 17, 2017
Exemplo de configuração do Gitlab CI. Ferramentas utilizadas: PHPMD, PHPCPD, PHPCS, PHPUnit e ApiDOC
View .gitlab-ci.yml
image: php:5.6
- vendor/
- qa
- test
- doc
View MainActivity.cs
namespace Droid
public class MainActivity : FormsAppCompatActivity
private static string _newTheme;
private static bool _canChangeTheme = false;
protected override void OnCreate(Bundle bundle)
View NavigationHelper.cs
using System;
using System.Threading.Tasks;
using Core.Interfaces;
using Core.Views;
using Xamarin.Forms;
namespace Core.Helpers
public class NavigationHelper : INavigationHelper
View App.xaml.cs
using Core.Helpers;
using Core.Interfaces;
using Core.Views;
using Xamarin.Forms;
namespace Core
public partial class App : Application
public App()
View INavigationHelper.cs
using System.Threading.Tasks;
namespace Core.Interfaces
public interface INavigationHelper
Task GotoPage2();
View Page1ViewModel.cs
using System.Threading.Tasks;
using System.Windows.Input;
using Core.Interfaces;
using Xamarin.Forms;
namespace Core.ViewModels
public class Page1ViewModel : BaseViewModel
public ICommand GotoPage2Command =>
View Page1View.xaml
<?xml version="1.0" encoding="UTF-8"?>
Title="Page 1"