Skip to content

Instantly share code, notes, and snippets.

View alejandro-rios's full-sized avatar

Alejandro Rios alejandro-rios

  • Medellin, Colombia
View GitHub Profile
@alejandro-rios
alejandro-rios / build.gradle
Created September 9, 2018 02:53
version 2
apply plugin: 'com.android.application'
apply plugin: 'dart.henson-plugin' // Apply plugin
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.f22labs.darthensondemo"
minSdkVersion 21
targetSdkVersion 27
@alejandro-rios
alejandro-rios / build.gradle
Last active September 9, 2018 02:56
build.gradle of the project
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.f2prateek.dart:henson-plugin:3.0.1' // Add the Henson plugin to the classpath
// NOTE: Do not place your application dependencies here; they belong
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.f22labs.darthensondemo"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import dart.Dart;
package com.f22labs.darthensondemo;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import dart.BindExtra;
import dart.DartModel;
// Model used to pass the values to DetailsActivity