Skip to content

Instantly share code, notes, and snippets.

Dao Le daolq

Block or report user

Report or block daolq

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
daolq /
Created Jul 20, 2016 — forked from ok3141/
Short snippet for reaching instance of Application entity in Android
public class AppHolder {
private static final APP;
public static getApp() {
return APP;
static {
try {
Class<?> c = Class.forName("");
package vn.fstyle.realmandroiddemo.realm;
import io.realm.RealmObject;
* RealmString.
* @author DaoLQ
public class RealmString extends RealmObject {
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import io.realm.Realm;
import io.realm.RealmObject;
* RealmAutoIncrement.
You can’t perform that action at this time.