Skip to content

Instantly share code, notes, and snippets.


Dao Le daolq

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.