This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ar.com.galicia.core.services; | |
import android.content.Intent; | |
import com.facebook.stetho.okhttp3.StethoInterceptor; | |
import com.google.firebase.analytics.FirebaseAnalytics; | |
import com.google.firebase.crashlytics.FirebaseCrashlytics; | |
import com.google.gson.Gson; | |
import com.google.gson.GsonBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<TextView | |
android:id="@+id/titulo_ingreso_codigo" | |
android:layout_width="296dp" | |
android:layout_height="wrap_content" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.galicia.galiciaoffice.login.view.activity; | |
public abstract class GOLoginActivity extends ServiceActivity<UserData, LoginController<UserData>> implements UserController.UserCompaniesListener { | |
private UserController userController; | |
private SessionContextController sessionContextController; | |
@Override | |
protected void onResume() { | |
super.onResume(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cjtp.android.api.interceptors; | |
import android.util.Log; | |
import com.google.gson.JsonObject; | |
import com.inviteez.android.core.Session; | |
import com.inviteez.android.utils.Constant; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.io.IOException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cjtp.android.api.interceptors; | |
import android.util.Log; | |
import com.google.gson.JsonObject; | |
import com.inviteez.android.core.Session; | |
import com.inviteez.android.utils.Constant; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.io.IOException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cjtp.android.api.interceptors; | |
import android.util.Log; | |
import com.google.gson.JsonObject; | |
import com.inviteez.android.core.Session; | |
import com.inviteez.android.utils.Constant; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.io.IOException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class HttpInterceptor implements Interceptor { | |
@Override | |
public Response intercept(Chain chain) throws IOException { | |
Request request = chain.request(); | |
//Build new request | |
Request.Builder builder = request.newBuilder(); | |
builder.header("Accept", "application/json"); //if necessary, say to consume JSON | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cjtp.android.utils; | |
import android.content.Context; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.GestureDetector; | |
import android.view.MotionEvent; | |
import android.view.View; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Los alias son abreviaciones de uno o varios comandos de git, incluso lineas de comandos. | |
Con ello se ahorra tiempo y se reduce la posibilidad de equivocarse al escribir largas líneas en la consola de Git. | |
EJEMPLO PARA CONFIGURAR ALIAS: | |
$ git config --global alias.estatus status | |
$ git config --global alias.revisar checkout | |
$ git config --global alias.descartar "checkout -- ." | |
USO DE LOS ALIAS: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cjtp.apps.multitest.ui.fragments; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.Button; |
NewerOlder