functions and admin are for the functions project, same folder containing package.json
npm install firebase-functions@latest firebase-admin@latest --save
firebase-tools is the cli and should be global with sudo
import android.os.Process; | |
import android.util.Log; | |
import java.util.concurrent.LinkedBlockingDeque; | |
import java.util.concurrent.ThreadFactory; | |
import java.util.concurrent.ThreadPoolExecutor; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* Created by cutiko on 30-11-17. |
functions and admin are for the functions project, same folder containing package.json
npm install firebase-functions@latest firebase-admin@latest --save
firebase-tools is the cli and should be global with sudo
1 user see an email input
2 onCall to Functions, it will check users/{userEmailInput}:secretPushKey
2.a if the node don't exist it means is a sign up, onCall will reply the same email
2.b if the node exist onCall will check registrations/{secretPushKey}/{userEmailInput}
, the object
on secretPushKey is like this:
{
email1:true,
<!-- | |
Look in android we can use drawables written on xml | |
Like this: | |
--> | |
<?xml version="1.0" encoding="utf-8"?> | |
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> | |
<solid android:color="@android:color/white" /> | |
<corners android:radius="4dp" /> | |
<stroke android:width="1.7dp" android:color="@color/colorAccent" /> |
package io.livetolearn.livetolearn.views.profile.combined; | |
import android.content.Context; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.support.v4.view.ViewPager; | |
import android.util.AttributeSet; | |
import android.view.View; | |
public class BodyPager extends ViewPager { |
El cambio de fecha para la entrega del proyecto no es general sino que hay que postular a ello.
El alumno debe enviar al mail indicado en el documento del proyecto aldoagallardo@gmail.com
su avance:
La fecha de la postulación es hasta la fecha original el 23 de Agosto.
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
tools:context=".InfoActivity"> | |
<ImageView |
Instale git https://git-scm.com/
En el menu superior VCS/Enable Version Control Integration
Seleccione git
Si es que hay algún error el problema más probable es que git no se haya configurado con Android Studio, vaya a las opciones y busque "git". En las opciones de git, tiene que hacer referencia a un archivo que se llama git que quedó instalado dentro de la carpeta donde se instaló git, dentro de una carpeta que se llama bin
Si le resultó el Enable Version Control Integration
entonces va a ver que en la parte inferior hay un nuevo tab que se llama "Version Control"
public class HostActivity extends AppCompatActivity implements TheInterface { | |
//TODO skipping other methods for simplicity | |
@Override | |
public void innerInterfaceMethod(String example) { | |
//That string is from the Fragment, get it and do anything with it | |
} | |
} |
The non-Map-based annotations support both List and array types for repetition. From @Query:
@GET("/list")
void list(@Query("category") String... categories);
Calling with foo.list("bar", "baz") yields /list?category=foo&category=bar.
Just use a[] as the key.