Organizadores: Juan Tomaylla y Juan Handal
Links de Interes
| import android.os.Parcel | |
| import android.os.Parcelable | |
| /** | |
| * Created by armando on 3/9/17. | |
| */ | |
| data class Event(val id: Int, val name: String, val type: String, val venue: Venue? = null ) : Parcelable { | |
| companion object { | |
| @JvmField val CREATOR: Parcelable.Creator<Event> = object : Parcelable.Creator<Event>{ |
| fun ImageView.loadImage(url: String?){ | |
| if(url != null){ | |
| Glide.with(this.context) | |
| .load(url) | |
| .fitCenter() | |
| .into(this) | |
| } | |
| } | |
| myImageView.loadImage(“!insert an url here!”) |
| package com.devpicon.android.firebasesamples.activities; | |
| import android.content.Intent; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.widget.Toast; | |
| import com.devpicon.android.firebasesamples.R; | |
| import com.firebase.ui.auth.AuthUI; | |
| import com.google.firebase.auth.FirebaseAuth; |
| package com.devpicon.android.firebasesamples.activities; | |
| import android.os.Bundle; | |
| import android.support.design.widget.FloatingActionButton; | |
| import android.support.design.widget.Snackbar; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.support.v7.widget.Toolbar; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; |
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| tools:context=".activities.Main2Activity"> |
| package com.devpicon.android.firebasesamples.activities; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.EditText; | |
| import android.widget.TextView; | |
| import android.widget.Toast; |
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| tools:context=".activities.MainActivity"> |
| apply plugin: 'com.android.application' | |
| apply plugin: 'kotlin-android' | |
| android { | |
| compileSdkVersion 23 | |
| buildToolsVersion "23.0.2" | |
| defaultConfig { | |
| applicationId "pe.androidperu.kotlinproyectobase" | |
| minSdkVersion 19 |
| Sub configure_animations() | |
| Dim oshp As Shape | |
| Dim osld As Slide | |
| Set oshp = ActiveWindow.Selection.ShapeRange(1) | |
| Set osld = Application.ActiveWindow.View.Slide | |
| ' Add entering effect to shape oshp | |
| osld.TimeLine.MainSequence.AddEffect oshp, msoAnimEffectFade, , msoAnimTriggerOnPageClick | |
| ' Apply the same effect but set Exiting flag on TRUE |