Skip to content

Instantly share code, notes, and snippets.

Ione Souza Junior ionixjunior

Block or report user

Report or block ionixjunior

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ionixjunior
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 - https://www.dotnetperls.com/il
- The Dex File Format - https://www.bugsnag.com/blog/dex-and-d8
- From Code to Dex: A Compilation Story - https://medium.com/upday-devs/from-code-to-dex-a-compilation-story-e1d62f63ad6a
- Xamarin Developer Summit talk - https://www.youtube.com/watch?v=ZxKNGW8Br0M&list=PLM75ZaNQS_FYkolOLIcZFi_3eSORFZxHx&index=3&t=0s
- DVM vs ART - https://android.jlelse.eu/closer-look-at-android-runtime-dvm-vs-art-1dc5240c3924
- Difference between DVM and ART - https://stackoverflow.com/questions/31957568/what-is-difference-between-dvm-and-art-why-dvm-has-been-officially-replaced-wi
- What are "sugar", "desugar" terms in context of Java 8? - https://stackoverflow.com/questions/22060894/what-are-sugar-desugar-terms-in-context-of-java-8
- A deep dive into Android’s D8 dexer and R8 shrinker with Xamarin - https://medium.com/@hakimgulamali88/a-deep-dive-into-androids-d8-dexer-and-r8-shrinker-with-xamarin-ca66e00b1c8d
- Next-generation Dex Compiler Now in Preview - https://android-d
@ionixjunior
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
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
cache:
paths:
- vendor/
stages:
- 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"?>
<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
@ionixjunior
ionixjunior / 0_reuse_code.js
Created Jul 3, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.