Skip to content

Instantly share code, notes, and snippets.

Evan Lin proevan

Block or report user

Report or block proevan

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
View RealmString.java
package vn.fstyle.realmandroiddemo.realm;
import io.realm.RealmObject;
/**
* RealmString.
*
* @author DaoLQ
*/
public class RealmString extends RealmObject {
@ficusk
ficusk / GsonRequest.java
Last active Jun 4, 2019
A Volley adapter for JSON requests that will be parsed into Java objects by Gson.
View GsonRequest.java
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.android.volley.AuthFailureError;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
@jgilfelt
jgilfelt / CurlLoggingInterceptor.java
Created Jan 9, 2016
An OkHttp interceptor that logs requests as curl shell commands
View CurlLoggingInterceptor.java
/*
* Copyright (C) 2016 Jeff Gilfelt.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.