Skip to content

Instantly share code, notes, and snippets.

edwin cabrejos esantiago1

  • Lima, Perú
Block or report user

Report or block esantiago1

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
esantiago1 / AndroidManifest.xml
Last active Jul 11, 2019
Detect network change
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
View Send form-data in retrofit
public class ApiClient {
private static final String URL = "";
private static Retrofit mRetrofit = null;
public static Retrofit getInstance() {
if (mRetrofit == null) {
mRetrofit = new Retrofit.Builder()
esantiago1 /
Last active Feb 20, 2018
Endless Scroll RecyclerView
import android.os.Handler;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.TextView;
esantiago1 / androidmarshmallow.txt
Last active Mar 30, 2016
Genymotion with Google Play Services - android marshmallow
View androidmarshmallow.txt
I worked for me in ubuntu 14.04
1) genymotion 2.6.0
2) device emulator PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920
3) flash then restart.
4) flash (
5) sign in into your google account.
6) download( and restart.
You can’t perform that action at this time.