This file contains hidden or 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
| public class AppHolder { | |
| private static final android.app.Application APP; | |
| public static android.app.Application getApp() { | |
| return APP; | |
| } | |
| static { | |
| try { | |
| Class<?> c = Class.forName("android.app.ActivityThread"); |
This file contains hidden or 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 vn.fstyle.realmandroiddemo.realm; | |
| import io.realm.RealmObject; | |
| /** | |
| * RealmString. | |
| * | |
| * @author DaoLQ | |
| */ | |
| public class RealmString extends RealmObject { |
This file contains hidden or 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
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.concurrent.atomic.AtomicInteger; | |
| import io.realm.Realm; | |
| import io.realm.RealmObject; | |
| /** | |
| * RealmAutoIncrement. | |
| * |